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

AWS::EC2::FlowLog shows error when adding the Tags item #127

Closed
Papina opened this issue Sep 19, 2020 · 1 comment
Closed

AWS::EC2::FlowLog shows error when adding the Tags item #127

Papina opened this issue Sep 19, 2020 · 1 comment

Comments

@Papina
Copy link

Papina commented Sep 19, 2020

adding this code shows the Tags Property as error:

CloudFormation deploys the template fine with the expected tags

[cfn-lint] E3002: Invalid Property Resources/FlowLog/Properties/Tags
Peek Problem (⌥F8)
No quick fixes available

  #--------------------------------------------------------------------------------------------------
  FlowLog:
  #--------------------------------------------------------------------------------------------------
    Type: AWS::EC2::FlowLog
    Condition: EnableFlowLogs
    Properties:
      LogDestination: !Sub "arn:aws:s3:::${FlowLogsS3Bucket}/"
      LogDestinationType: !Ref FlowLogsLogDestinationType
      ResourceId: !Ref VPC
      ResourceType: VPC
      TrafficType: ALL
      Tags:
        - Key: Name
          Value: test
@PatMyron
Copy link
Contributor

PatMyron commented Sep 19, 2020

Since the Linter itself is still separate from the Visual Studio extension, please make sure you are updating the Linter itself separately with:
pip3 install cfn-lint --upgrade

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

2 participants