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
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠