Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Validation fails for VpcEndpointType property of AWS::EC2::VPCEndpoint resource #220

@aoggz

Description

@aoggz

cfn-lint does not accept the VpcEndpointType property on the AWS::EC2::VPCEndpoint resource. It expects VPCEndpointType. CloudFormation does not accept VPCEndpointType.

Here's the yaml for the resource currently at issue:

  SnsVpcEndpoint:
    Type: AWS::EC2::VPCEndpoint
    Properties:
      RouteTableIds:
        - !Ref RouteTableId
      ServiceName: !Join ['.', ['com.amazonaws', !Ref 'AWS::Region', 'sns']]
      VpcId: !Ref VpcId
      VpcEndpointType: Interface

Changing VpcEndpointType to VPCEndpointType will cause the CloudFormation stack to fail, but it will appease cfn-lint.

This was originally reported in #180.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions