This commit is contained in:
vpn
2023-04-10 16:19:05 +02:00
parent 0b39974407
commit 128c9e5e5f
13 changed files with 1405 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
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"
}