Closed isuftin closed 6 days ago
For giggles I tried to change the command test runs to something nonsensical (test: something nonsensical
) and still got the same error description. I did this to make sure that the test command was not what was being flagged here but for sure is the parameter.
I'm assuming test is valid? I'm not seeing it in this list https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-init.html#aws-resource-init-files
@kddejong Yeah you're absolutely right. We've had it wrong in our template the whole time with no ill effects. I guess kudos to cfn-lint for catching that! :D
Noob move on our end. Will close issue.
Thank you.
CloudFormation Lint Version
1.3.4
What operating system are you using?
MacOS, Alpine Linux
Describe the bug
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-init.html#aws-resource-init-commands
It looks like later versions of cfn-init are returning
E3009 Additional properties are not allowed ('test' was unexpected)
when we have a test in our launchtemplate command definition.Expected behavior
No error
Reproduction template