From 46d6ab6e469e30edf39ffee04d8b5a2ff47bbc6c Mon Sep 17 00:00:00 2001 From: williank12 Date: Fri, 1 Nov 2024 12:22:49 -0300 Subject: [PATCH] Fixing VPC Error Updating VPC Module for Proper Network Functionality --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 1bbf686..640ecb3 100644 --- a/main.tf +++ b/main.tf @@ -141,7 +141,7 @@ resource "huaweicloud_networking_secgroup_rule" "remote_address_group" { ethertype = lookup(element(local.security_group_rules_with_remote_addresses, count.index), "ethertype") protocol = lookup(element(local.security_group_rules_with_remote_addresses, count.index), "protocol") ports = lookup(element(local.security_group_rules_with_remote_addresses, count.index), "ports") - remote_address_group_id = huaweicloud_vpc_address_group.this[count.index].id + remote_address_group_id = huaweicloud_vpc_address_group.security_group_rules_auto_created[count.index].id action = lookup(element(local.security_group_rules_with_remote_addresses, count.index), "action") priority = lookup(element(local.security_group_rules_with_remote_addresses, count.index), "priority") }