Skip to content

Commit

Permalink
Update gateway-master.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-meravbe authored Nov 12, 2023
1 parent f1021f2 commit 412a86a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aws/templates/single-gw/gateway-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ Conditions:
AllocateAddress: !Equals [!Ref AllocatePublicAddress, true]
ProvidedResourcesTag: !Not [!Equals [!Ref ResourcesTagName, '']]
Resources:
Vpc:
VPCStack:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: https://cgi-cfts.s3.amazonaws.com/utils/vpc.yaml
Expand All @@ -402,7 +402,7 @@ Resources:
InternalRoutingTable:
Type: AWS::EC2::RouteTable
Properties:
VpcId: !GetAtt Vpc.Outputs.VPCID
VpcId: !GetAtt VPCStack.Outputs.VPCID
Tags:
- Key: Name
Value:
Expand All @@ -414,15 +414,15 @@ Resources:
Type: AWS::EC2::SubnetRouteTableAssociation
Properties:
RouteTableId: !Ref InternalRoutingTable
SubnetId: !GetAtt Vpc.Outputs.PrivateSubnet1ID
SubnetId: !GetAtt VPCStack.Outputs.PrivateSubnet1ID
GatewayStack:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: https://cgi-cfts.s3.amazonaws.com/gateway/gateway.yaml
Parameters:
VPC: !GetAtt Vpc.Outputs.VPCID
PublicSubnet: !GetAtt Vpc.Outputs.PublicSubnet1ID
PrivateSubnet: !GetAtt Vpc.Outputs.PrivateSubnet1ID
VPC: !GetAtt VPCStack.Outputs.VPCID
PublicSubnet: !GetAtt VPCStack.Outputs.PublicSubnet1ID
PrivateSubnet: !GetAtt VPCStack.Outputs.PrivateSubnet1ID
InternalRouteTable: !Ref InternalRoutingTable
GatewayName: !Ref GatewayName
GatewayInstanceType: !Ref GatewayInstanceType
Expand Down

0 comments on commit 412a86a

Please sign in to comment.