Cloudformation Bug when creating VPCE and GWLB Instance Targets

0

I am creating a CDK app to deploy a NGFW behind a GWLB with all of the routing in place. When I launch the cdk app, the VPCEndpoints always fail to create if I register the EC2 Instance (NGFW) in same template. I've tried to add dependson conditions but nothing seems to happen. Simply including the instance targets causes the VPC endpoints to fail. This config does not impact the vpce creation

  gwlbtarget:
    Type: AWS::ElasticLoadBalancingV2::TargetGroup
    Properties:
      HealthCheckPort: "443"
      HealthCheckProtocol: TCP
      Name: gwlb-targetgroup
      Port: 6081
      Protocol: GENEVE
      VpcId:
        Ref: firewallvpc63A6EE9C
    Metadata:
      aws:cdk:path: GwlbExampleStack/gwlb-target

This causes vpce endpoint to fail with error: "VPC Endpoint vpce-xxxxx did not stabilize. Current state: failed"

  gwlbtarget:
    Type: AWS::ElasticLoadBalancingV2::TargetGroup
    Properties:
      HealthCheckPort: "443"
      HealthCheckProtocol: TCP
      Name: gwlb-targetgroup
      Port: 6081
      Protocol: GENEVE
      Targets:
        - Id:
            Ref: ngfw
      VpcId:
        Ref: firewallvpc63A6EE9C
    Metadata:
      aws:cdk:path: GwlbFirewallStack/gwlb-target
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas