terraform-tofu-labs/3-remote-states/code/variables.tf

49 lines
1 KiB
Terraform
Raw Normal View History

2024-04-15 22:33:12 +00:00
variable "name" {
2024-04-16 17:23:24 +00:00
description = "Name of our Application"
2024-04-15 22:33:12 +00:00
type = string
2024-04-16 17:23:24 +00:00
default = "lab-1-app"
2024-04-15 22:33:12 +00:00
}
variable "environment" {
2024-04-16 17:23:24 +00:00
description = "The deployment environment"
2024-04-15 22:33:12 +00:00
type = string
2024-04-16 17:23:24 +00:00
default = "dev"
2024-04-15 22:33:12 +00:00
}
variable "private_subnet_suffix" {
description = "Suffix to append to private subnets name"
type = string
default = "private-"
}
variable "public_subnet_suffix" {
description = "Suffix to append to public subnets name"
type = string
default = "public-"
}
variable "database_subnet_suffix" {
description = "Suffix to append to database subnets name"
type = string
default = "rds-"
}
variable "additional_tags" {
description = "Additional default resource tags"
type = map(string)
default = {}
}
2024-04-16 17:23:24 +00:00
variable "instance_size" {
description = "Size of the instance to run"
type = string
default = "t4g.nano"
}
2024-04-15 22:33:12 +00:00
variable "ami_id" {
2024-04-16 17:23:24 +00:00
description = "Instance Amazon Machine Image to run"
type = string
default = "ami-029b91ed285a24a90"
2024-04-15 22:33:12 +00:00
}
2024-04-16 17:23:24 +00:00