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

E3002 Invalid Property Resources/TaskDefinition/Properties/Volumes/0/efsVolumeConfiguration #1638

Closed
f0o opened this issue Aug 4, 2020 · 5 comments
Labels
spec CloudFormation Specification Bug

Comments

@f0o
Copy link

f0o commented Aug 4, 2020

cfn-lint version: (cfn-lint --version)
cfn-lint 0.34.1

Description of issue.
Newly added EFS VolumeConfiguration for ECS TaskDefinitions not yet supported

Cfn support: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html

cfn-lint -u does not rectify the issue, perhaps the definitions are not yet updated upstream?

@PatMyron
Copy link
Contributor

PatMyron commented Aug 4, 2020

Looks like a couple AWS::ECS::TaskDefinition properties got picked up in most of the regions but not the default us-east-1 yet

Inline resource-level ignores should mitigate until then:

  Resource:
    Type: AWS::ECS::TaskDefinition
    Metadata:
      cfn-lint:
        config:
          ignore_checks:
          - E3002

more general tracking issue: #1219

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html

@PatMyron PatMyron added the spec CloudFormation Specification Bug label Aug 4, 2020
@PatMyron
Copy link
Contributor

now available in the latest us-east-1 Resource Specification

cfn-lint -u / cfn-lint --update-specs should now pick this up and this should be included in next release

@jedis00
Copy link

jedis00 commented Aug 19, 2020

@PatMyron This appears to still be broken. I updated cfn-lint to 0.35.0 and it still does not recognize the property:

3002 - Invalid Property Resources/ConsumerTaskDefinition/Properties/Volumes/0/EFSVolumeConfiguration```

@kddejong
Copy link
Contributor

@jedis00 this template is not returning an error for me. Did you also try the cfn-lint --update-specs?

Resources:
  taskdefinition: 
    Type: AWS::ECS::TaskDefinition
    Properties: 
      Volumes: 
        - EFSVolumeConfiguration:
            FilesystemId: "id"

@jedis00
Copy link

jedis00 commented Aug 19, 2020

@kddejong I figured it out. I tried the update-specs first, and it didn't work. Then updated cfn-lint, and still no dice. Had to restart Sublime and then it started working. Not sure if both were needed, but it doesn't hurt. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec CloudFormation Specification Bug
Projects
None yet
Development

No branches or pull requests

4 participants