From 3b4034feed677634b68afcc6a9092a810a8a95d7 Mon Sep 17 00:00:00 2001 From: Prateek-Sharma13 Date: Mon, 17 Apr 2023 19:05:59 +0530 Subject: [PATCH] fix: added address id for outbound rule --- network_acls.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network_acls.tf b/network_acls.tf index bb97dd1a..979c03f3 100644 --- a/network_acls.tf +++ b/network_acls.tf @@ -63,7 +63,7 @@ locals { vpc_outbound_rule = [ for address in data.ibm_is_vpc_address_prefixes.get_address_prefixes.address_prefixes : { - name = "ibmflow-allow-vpc-connectivity-outbound-${substr(address.name, -4, -1)}" + name = "ibmflow-allow-vpc-connectivity-outbound-${substr(address.id, -4, -1)}" action = "allow" source = var.network_cidr != null ? var.network_cidr : "0.0.0.0/0" destination = address.cidr