forked from pierront/but3-iac
mja
This commit is contained in:
@@ -27,7 +27,7 @@ module "compute" {
|
||||
source = "../../modules/compute"
|
||||
instance_type = var.instance_type
|
||||
zone = var.zone
|
||||
frontend_subnet_id = var.frontend_subnet_id
|
||||
backend_subnet_id = var.backend_subnet_id
|
||||
database_subnet_id = var.database_subnet_id
|
||||
frontend_subnet_id = module.network.subnet_ids["frontend"]
|
||||
backend_subnet_id = module.network.subnet_ids["backend"]
|
||||
database_subnet_id = module.network.subnet_ids["database"]
|
||||
}
|
||||
|
||||
@@ -40,24 +40,6 @@ variable "ssh_source_ranges" {
|
||||
default = "0.0.0.0/0"
|
||||
}
|
||||
|
||||
variable "frontend_subnet_id" {
|
||||
description = "frontend subnet id"
|
||||
type = string
|
||||
default = module.network.subnet_ids["frontend"]
|
||||
}
|
||||
|
||||
variable "backend_subnet_id" {
|
||||
description = "backend subnet id"
|
||||
type = string
|
||||
default = module.network.subnet_ids["backend"]
|
||||
}
|
||||
|
||||
variable "database_subnet_id" {
|
||||
description = "database subnet id"
|
||||
type = string
|
||||
default = module.network.subnet_ids["database"]
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "zone"
|
||||
type = string
|
||||
|
||||
Reference in New Issue
Block a user