Skip to content

Commit a6aed91

Browse files
authored
fix: added address id for outbound rule (#506)
1 parent bc085d0 commit a6aed91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network_acls.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ locals {
6363
vpc_outbound_rule = [
6464
for address in data.ibm_is_vpc_address_prefixes.get_address_prefixes.address_prefixes :
6565
{
66-
name = "ibmflow-allow-vpc-connectivity-outbound-${substr(address.name, -4, -1)}"
66+
name = "ibmflow-allow-vpc-connectivity-outbound-${substr(address.id, -4, -1)}"
6767
action = "allow"
6868
source = var.network_cidr != null ? var.network_cidr : "0.0.0.0/0"
6969
destination = address.cidr

0 commit comments

Comments
 (0)