terraform-tofu-labs/2-simple-example/code/variables.tf

37 lines
798 B
Terraform
Raw Normal View History

2024-04-15 22:33:12 +00:00
variable "name" {
2024-04-16 15:32:58 +00:00
description = "Name of our Application"
2024-04-15 22:33:12 +00:00
type = string
2024-04-16 15:32:58 +00:00
default = "lab-1-app"
2024-04-15 22:33:12 +00:00
}
variable "environment" {
2024-04-16 15:32:58 +00:00
description = "The deployment environment"
2024-04-15 22:33:12 +00:00
type = string
2024-04-16 15:32:58 +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 = {}
}