59 lines
1.1 KiB
Terraform
Executable File
59 lines
1.1 KiB
Terraform
Executable File
variable "region" {
|
|
type = string
|
|
description = "AWS region"
|
|
}
|
|
|
|
variable "access_key" {
|
|
type = string
|
|
description = "Access key ID"
|
|
}
|
|
|
|
variable "secret_key" {
|
|
type = string
|
|
description = "Secret access key"
|
|
}
|
|
|
|
variable "ami" {
|
|
type = string
|
|
description = "AMI ID"
|
|
}
|
|
|
|
variable "namespace" {
|
|
type = string
|
|
description = "Namespace (e.g. `eg` or `cp`)"
|
|
}
|
|
|
|
variable "stage" {
|
|
type = string
|
|
description = "Stage (e.g. `prod`, `dev`, `staging`, `infra`)"
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
description = "Name (e.g. `app` or `cluster`)"
|
|
}
|
|
|
|
variable "availability_zones" {
|
|
type = string
|
|
description = "List of availability zones"
|
|
}
|
|
|
|
variable "associate_public_ip_address" {
|
|
type = bool
|
|
description = "Associate a public IP address with the instance"
|
|
}
|
|
|
|
variable "assign_eip_address" {
|
|
type = bool
|
|
description = "Assign an Elastic IP address to the instance"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
type = string
|
|
description = "The type of the instance"
|
|
}
|
|
variable "volume_size" {
|
|
type = string
|
|
description = "The size of the instance"
|
|
}
|