From b484d27a13584e1bae17a7c743b5f2847a22d538 Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Mon, 22 Jul 2024 13:48:25 +1000 Subject: [PATCH] fix output --- vpc-v2.cfndsl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vpc-v2.cfndsl.rb b/vpc-v2.cfndsl.rb index 6442762..d5a9447 100644 --- a/vpc-v2.cfndsl.rb +++ b/vpc-v2.cfndsl.rb @@ -630,9 +630,9 @@ NetworkAclId Ref("NetworkAcl#{cfg['type'].capitalize}") } - Output("#{cfg['name']}SubnetAZ") { - FnGetAtt(subnet_name_az, :AvailabilityZone) - Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-#{cfg['name']}SubnetsAZ") + Output("#{cfg['name']}#{az}Subnet-AZ") { + Value(FnGetAtt(subnet_name_az, :AvailabilityZone)) + Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-#{cfg['name']}Subnet#{az}-AZ") } end