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?
Inline resource-level ignores should mitigate until then:
Resource:
Type: AWS::ECS::TaskDefinition
Metadata:
cfn-lint:
config:
ignore_checks:
- E3002
more general tracking issue: https://github.com/aws-cloudformation/cfn-python-lint/issues/1219
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html
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
@PatMyron This appears to still be broken. I updated cfn-lint to 0.35.0 and it still does not recognize the property:
cfnlint: error
3002 - Invalid Property Resources/ConsumerTaskDefinition/Properties/Volumes/0/EFSVolumeConfiguration
@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"
@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!
Most helpful comment
@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!