Skip to content

Commit

Permalink
Export subnet az
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed Jul 22, 2024
1 parent ddf31c7 commit 5c09c4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vpc-v2.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,11 @@
SubnetId Ref(subnet_name_az)
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")
}

end

Expand Down

0 comments on commit 5c09c4e

Please sign in to comment.