Outputs.RouteTable disappears when the condition CreateOfNatGateway is truthy falsy.
This seems to make the value of !Ref VPCRouteTable not accessible.
|
RouteTable: |
|
Description: VPC Route Table ID |
|
Condition: CreateOfNatGateway |
|
Value: !Join |
|
- ',' |
|
- |
|
- Fn::If: [CreateOfNatGateway, !Ref "AWS::NoValue", !Ref VPCRouteTable] |
|
- Fn::If: [CreateOfNatGateway1, !Ref VPCRouteTable1, !Ref "AWS::NoValue"] |
|
- Fn::If: [CreateOfNatGateway2, !Ref VPCRouteTable2, !Ref "AWS::NoValue"] |
|
- Fn::If: [CreateOfNatGateway3, !Ref VPCRouteTable3, !Ref "AWS::NoValue"] |
|
- Fn::If: [CreateOfNatGateway4, !Ref VPCRouteTable4, !Ref "AWS::NoValue"] |
|
- Fn::If: [CreateOfNatGateway5, !Ref VPCRouteTable5, !Ref "AWS::NoValue"] |
Outputs.RouteTabledisappears when the conditionCreateOfNatGatewayistruthyfalsy.This seems to make the value of
!Ref VPCRouteTablenot accessible.secure-stack-template-aws/networks/create-vpc/create-vpc.yaml
Lines 1120 to 1131 in 0aa739b