31 lines
745 B
HCL
31 lines
745 B
HCL
variable "aws_region" {
|
|
type = string
|
|
description = "The AWS region of this site"
|
|
}
|
|
|
|
variable "site_domain" {
|
|
type = string
|
|
description = "The domain name of the site"
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
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."
|
|
}
|
|
}
|