Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWLB 6.4 PAYG - fails if 0.0.0.0/0 used as PublicDefaultRouteSPK* #6

Open
wintermute000 opened this issue May 3, 2021 · 0 comments

Comments

@wintermute000
Copy link

wintermute000 commented May 3, 2021

For the template https://github.com/40net-cloud/fortinet-aws-solutions/tree/master/FortiGate/GWLB/6.4/PAYG

Stack creation consistently fails with
VPCRouteSPK1 CREATE_FAILED The route identified by 0.0.0.0/0 already exists
VPCRouteSPK2 CREATE_FAILED The route identified by 0.0.0.0/0 already exists

I figured out eventually that the stack doesn't like you using 0.0.0.0/0 as your source IP because then it dupes 0.0.0.0/0 here

  PublicDefaultRouteSPK1:
    DependsOn: AttachGateway
    Properties:
      DestinationCidrBlock: !Ref MyIPForAccess
      GatewayId: !Ref IGWSPK
      RouteTableId: !Ref RouteTableSPK1PUB
    Type: 'AWS::EC2::Route'

and

   VPCRouteSPK1:
    Type: 'AWS::EC2::Route'
    DependsOn: TgwAttSPK1
    Properties:
      RouteTableId: !Ref RouteTableSPK1PUB
      DestinationCidrBlock: 0.0.0.0/0
      TransitGatewayId: !Ref TGW1

I tried deleting the VPCRouteSPK1 / 2 resources but the the init function starts failing so I put a /32 in there as per example.

Suggest putting warning in docs

@wintermute000 wintermute000 changed the title GWLB 6.4 PAYG - VPCRouteSPK1 create failed GWLB 6.4 PAYG - fails if 0.0.0.0/0 used as PublicDefaultRouteSPK* May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant