remove variables as it was a test

This commit is contained in:
2024-11-14 11:27:04 +00:00
parent 1594d8f76a
commit 29b2c0e8ca
-38
View File
@@ -7,44 +7,6 @@ provider "kubernetes" {
config_path = "~/.kube/config" config_path = "~/.kube/config"
} }
variable "networks" {
type = map(object({
cidr_block = string
subnets = map(object({ cidr_block = string }))
}))
default = {
"private" = {
cidr_block = "10.1.0.0/16"
subnets = {
"db1" = {
cidr_block = "10.1.0.1/16"
}
"db2" = {
cidr_block = "10.1.0.2/16"
}
}
},
"public" = {
cidr_block = "10.1.1.0/16"
subnets = {
"webserver" = {
cidr_block = "10.1.1.1/16"
}
"email_server" = {
cidr_block = "10.1.1.2/16"
}
}
}
"dmz" = {
cidr_block = "10.1.2.0/16"
subnets = {
"firewall" = {
cidr_block = "10.1.2.1/16"
}
}
}
}
}