You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documents of type Command can use schema version 1.2, 2.0, and 2.2. If you use schema 1.2 documents, we recommend that you create documents that use schema version 2.2.
Documents of type Policy must use schema version 2.0 or later.
Documents of type Automation must use schema version 0.3.
this would fix the 'generic' error and allow for DocumentType specific errors with regards to schemaVersion.
Expected behavior
no errors when using DocumentType: Session and schemaVersion: "1.0"
CloudFormation Lint Version
1.7.1
What operating system are you using?
Ubuntu
Describe the bug
when using an AWS::SSM::Document with type "Session" (which is missing in the Cloudformation documentation btw) the only valid choice of version is "1.0": https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-schema.html
however cfn-lint gives an error with the following feedback:
which is NOT correct.
perhaps it's better to also check DocumentType and match more specific on versions allowed according to AWS documentation:
https://docs.aws.amazon.com/systems-manager/latest/userguide/documents-schemas-features.html
this would fix the 'generic' error and allow for DocumentType specific errors with regards to schemaVersion.
Expected behavior
no errors when using DocumentType: Session and schemaVersion: "1.0"
Reproduction template
The text was updated successfully, but these errors were encountered: