mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 19:13:13 +00:00
Add import-only dev and staging state with least-privilege HCP authentication and plan safety guards.
59 lines
1.4 KiB
HCL
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."
|
|
}
|