32 lines
799 B
HCL
32 lines
799 B
HCL
variable "aws_region" {
|
|
type = string
|
|
description = "The AWS region of these sites"
|
|
}
|
|
|
|
variable "site_domains" {
|
|
type = list(any)
|
|
description = "The domain name of these sites, which will be mapped over"
|
|
}
|
|
|
|
variable "tuffas_applier_role_arn" {
|
|
type = string
|
|
description = "IAM role ARN for Terraform to assume when applying changes"
|
|
}
|
|
|
|
variable "project_name" {
|
|
type = string
|
|
description = "Name of the project for resource tagging"
|
|
default = "tuffas"
|
|
}
|
|
|
|
# future proofing
|
|
variable "environment" {
|
|
type = string
|
|
description = "Environment name (e.g., dev, staging, prod)"
|
|
|
|
validation {
|
|
condition = contains(["dev", "staging", "prod"], var.environment)
|
|
error_message = "Environment must be one of: dev, staging, prod."
|
|
}
|
|
}
|