Skip to content

Commit

Permalink
Fixing VPC Error
Browse files Browse the repository at this point in the history
Updating VPC Module for Proper Network Functionality
  • Loading branch information
williank12 authored Nov 1, 2024
1 parent 85438e8 commit 46d6ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 46d6ab6

Please sign in to comment.