This commit is contained in:
2023-01-11 01:31:56 +09:00
parent f0402956e2
commit c96cac92b9
42 changed files with 746 additions and 265 deletions

View File

@ -10,36 +10,42 @@ variable "prod_name" {
default = "22shop"
}
# variable "nat_id" {
# description = "nat id value"
# type = string
# default = "insert_id"
# }
# variable "igw_id" {
# description = "value"
# type = string
# }
variable "subnet-az-public" {
description = "Subnet available zone & cidr"
type = map(map(string))
default = {
"zone-a" = {
name = "ap-northeast-2a"
cidr = "10.3.1.0/24"
}
"zone-c" = {
name = "ap-northeast-2c"
cidr = "10.3.3.0/24"
}
}
}
variable "subnet-az-private" {
description = "Subnet available zone & cidr"
type = map(map(string))
default = {
"zone-b" = {
name = "ap-northeast-2b"
cidr = "10.3.2.0/24"
}
"zone-d" = {
name = "ap-northeast-2d"
cidr = "10.3.4.0/24"
}
}
}
# variable "subnet-az-public" {
# description = "Subnet available zone & cidr"
# type = map(map(string))
# default = {
# "zone-a" = {
# name = "ap-northeast-2a"
# cidr = "10.3.1.0/24"
# }
# "zone-c" = {
# name = "ap-northeast-2c"
# cidr = "10.3.3.0/24"
# }
# }
# }
# variable "subnet-az-private" {
# description = "Subnet available zone & cidr"
# type = map(map(string))
# default = {
# "zone-b" = {
# name = "ap-northeast-2b"
# cidr = "10.3.2.0/24"
# }
# "zone-d" = {
# name = "ap-northeast-2d"
# cidr = "10.3.4.0/24"
# }
# }
# }