Skip to content

Commit bccc9fe

Browse files
committed
Remove the Export keyword because it prevents accessing output variables when using nested stacks
1 parent ef7b1d2 commit bccc9fe

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

vpc.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -623,48 +623,32 @@ Resources:
623623
Value: 'Usee SSH forwarding to simplify access to internal servers'
624624

625625
Outputs:
626-
One:
626+
VPC:
627627
Description: 'Virtual Private Cloud'
628628
Value:
629629
Ref: 'VPC'
630-
Export:
631-
Name: 'VPC'
632-
Two:
630+
PublicSubnetZoneA:
633631
Description: 'Zone A Public Subnet ID'
634632
Value:
635633
Ref: 'PublicSubnetZoneA'
636-
Export:
637-
Name: 'PublicSubnetZoneA'
638-
Three:
634+
PrivateSubnetZoneA:
639635
Description: 'Zone A Private Subnet ID'
640636
Value:
641637
Ref: 'PrivateSubnetZoneA'
642-
Export:
643-
Name: 'PrivateSubnetZoneA'
644-
Four:
638+
PublicSubnetZoneB:
645639
Description: 'Zone B Public Subnet ID'
646640
Value:
647641
Ref: 'PublicSubnetZoneB'
648-
Export:
649-
Name: 'PublicSubnetZoneB'
650-
Five:
642+
PrivateSubnetZoneB:
651643
Description: 'Zone B Private Subnet ID'
652644
Value:
653645
Ref: 'PrivateSubnetZoneB'
654-
Export:
655-
Name: 'PrivateSubnetZoneB'
656-
Six:
646+
BastionPublicAddressA:
657647
Description: 'Public IP address of the zone A Bastion server'
658648
Value: !GetAtt BastionZoneA.PublicIp
659-
Export:
660-
Name: 'BastionPublicAddressA'
661-
Seven:
649+
BastionPublicAddressB:
662650
Description: 'Public IP address of the zone B Bastion server'
663651
Value: !GetAtt BastionZoneB.PublicIp
664-
Export:
665-
Name: 'BastionPublicAddressB'
666-
Eight:
652+
SecurityGroupWideOpen:
667653
Description: 'Group ID of the WideOpen security group'
668654
Value: !GetAtt WideOpenSecurityGroup.GroupId
669-
Export:
670-
Name: 'SecurityGroupWideOpen'

0 commit comments

Comments
 (0)