shoc-backend/terraform/live/modules/environment-inventory/variables.tf
Adam Moussa 25c2e84e8f feat(terraform): adopt live deployment roles safely
Add import-only dev and staging state with least-privilege HCP authentication and plan safety guards.
2026-08-28 19:12:34 -04:00

59 lines
1.4 KiB
HCL

variable "aws_account_id" {
type = string
description = "Expected AWS account ID."
}
variable "vpc_id" {
type = string
description = "Existing VPC ID."
}
variable "subnet_ids" {
type = set(string)
description = "Existing Elastic Beanstalk subnet IDs."
}
variable "rds_identifier" {
type = string
description = "Existing shared RDS instance identifier."
}
variable "eb_service_role_name" {
type = string
description = "Existing shared Elastic Beanstalk service role."
}
variable "runtime_role_name" {
type = string
description = "Existing environment-specific EC2 role."
}
variable "instance_profile_name" {
type = string
description = "Existing environment-specific EC2 instance profile."
}
variable "security_group_ids" {
type = set(string)
description = "Existing environment-specific Elastic Beanstalk and load-balancer security groups."
}
variable "certificate_domain" {
type = string
description = "Primary domain on the existing shared ACM certificate."
}
variable "hosted_zone_name" {
type = string
description = "Existing Route 53 hosted-zone name."
}
variable "expected_certificate_arn" {
type = string
description = "Exact existing ACM certificate ARN."
}
variable "expected_hosted_zone_id" {
type = string
description = "Exact existing Route 53 hosted-zone ID."
}