I get the following errors while running this file:
Additional Info:
Terraform 0.15.1
provider registry.terraform.io/hashicorp/azurerm v2.66.0
│ Error: Unsupported attribute │ │ on main.tf line 46, in module "common_fw": │ 46: nic1_backend_pool_id = [module.common_extlb.backend_pool_id] │ ├──────────────── │ │ module.common_extlb is a object, known only after apply │ │ This object does not have an attribute named "backend_pool_id". ╵
╷ │ Error: Unsupported attribute │ │ on main.tf line 47, in module "common_fw": │ 47: nic2_backend_pool_id = [module.common_intlb.backend_pool_id] │ ├──────────────── │ │ module.common_intlb is a object, known only after apply │ │ This object does not have an attribute named "backend_pool_id". ╵
│ Error: Unsupported attribute │ │ on main.tf line 71, in module "common_extlb": │ 71: network_interface_ids = module.common_fw.nic1_id │ ├──────────────── │ │ module.common_fw is a object, known only after apply │ │ This object does not have an attribute named "nic1_id".
╷ │ Error: Unsupported attribute │ │ on main.tf line 87, in module "common_intlb": │ 87: network_interface_ids = module.common_fw.nic2_id │ ├──────────────── │ │ module.common_fw is a object, known only after apply │ │ This object does not have an attribute named "nic2_id".
I get the following errors while running this file:
Additional Info:
Terraform 0.15.1
provider registry.terraform.io/hashicorp/azurerm v2.66.0
│ Error: Unsupported attribute │ │ on main.tf line 46, in module "common_fw": │ 46: nic1_backend_pool_id = [module.common_extlb.backend_pool_id] │ ├──────────────── │ │ module.common_extlb is a object, known only after apply │ │ This object does not have an attribute named "backend_pool_id". ╵╷ │ Error: Unsupported attribute │ │ on main.tf line 47, in module "common_fw": │ 47: nic2_backend_pool_id = [module.common_intlb.backend_pool_id] │ ├──────────────── │ │ module.common_intlb is a object, known only after apply │ │ This object does not have an attribute named "backend_pool_id". ╵│ Error: Unsupported attribute │ │ on main.tf line 71, in module "common_extlb": │ 71: network_interface_ids = module.common_fw.nic1_id │ ├──────────────── │ │ module.common_fw is a object, known only after apply │ │ This object does not have an attribute named "nic1_id".╷ │ Error: Unsupported attribute │ │ on main.tf line 87, in module "common_intlb": │ 87: network_interface_ids = module.common_fw.nic2_id │ ├──────────────── │ │ module.common_fw is a object, known only after apply │ │ This object does not have an attribute named "nic2_id".