You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
891 B
45 lines
891 B
1 year ago
|
variable "region" {
|
||
|
default = "ap-southeast-2"
|
||
|
}
|
||
|
|
||
|
variable "profile" {
|
||
|
default = "superuser"
|
||
|
}
|
||
|
|
||
|
variable "project" {
|
||
|
default = "template"
|
||
|
}
|
||
|
|
||
|
variable "container_image" {
|
||
|
default = "ghcr.io/jimmysawczuk/sun-api:latest"
|
||
|
}
|
||
|
|
||
|
variable "zones" {
|
||
|
type = set(string)
|
||
|
default = [
|
||
|
"ap-southeast-2a",
|
||
|
"ap-southeast-2b",
|
||
|
"ap-southeast-2c",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
variable "public_subnets" {
|
||
|
description = "Availability zone for instance associated with ip ranges"
|
||
|
type = map(any)
|
||
|
default = {
|
||
|
"ap-southeast-2a" = "10.0.1.0/25"
|
||
|
"ap-southeast-2b" = "10.0.2.0/25"
|
||
|
"ap-southeast-2c" = "10.0.3.0/25"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
variable "private_subnets" {
|
||
|
description = "Availability zone for instance associated with ip ranges"
|
||
|
type = map(any)
|
||
|
default = {
|
||
|
"ap-southeast-2a" = "10.0.1.128/25"
|
||
|
"ap-southeast-2b" = "10.0.2.128/25"
|
||
|
"ap-southeast-2c" = "10.0.3.128/25"
|
||
|
}
|
||
|
}
|