32 lines
818 B
Terraform
32 lines
818 B
Terraform
variable "account_id" {
|
|
description = "AWS account ID used only to form syntactically valid test ARNs."
|
|
type = string
|
|
|
|
validation {
|
|
condition = can(regex("^[0-9]{12}$", var.account_id))
|
|
error_message = "account_id must contain exactly 12 digits."
|
|
}
|
|
}
|
|
|
|
variable "region" {
|
|
description = "Isolated test region."
|
|
type = string
|
|
default = "ap-northeast-3"
|
|
}
|
|
|
|
variable "name_prefix" {
|
|
description = "Dedicated prefix for every named test resource."
|
|
type = string
|
|
default = "tftest-g3-8c2f"
|
|
}
|
|
|
|
variable "web_ami_id" {
|
|
description = "Public Ubuntu 24.04 AMI available in the test region."
|
|
type = string
|
|
}
|
|
|
|
variable "test_public_key" {
|
|
description = "Public-only test key. No private key is committed or used for a connection."
|
|
type = string
|
|
}
|