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
Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
Currently, if template file contains rather valid JSON, but with mixed use of identation, cfn-lint does not show that as an issue, whilst boto3/botocore validate_template call will fail.
Describe the solution you'd like
cfn-lint should be able to detect mixed identation use and advise on fixing.
Additional context
This was found whilst investigating Sceptre/sceptre#1311 where cfn-linst, jq, and python -mjson.tool was used to validate early JSON, but all of them yielded that template is valid. cfn-lint should represent the same outcome as would botocore/boto3 iniated create stack which validates template.
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
Would this feature include a breaking change?
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Can you provide a little more detail so I can reproduce the issue?
I've tried to make the template at Sceptre/sceptre#1311 (comment) code fail a few different ways (validate and create stack APIs) and I haven't been successful.
So downloaded that file and then ran aws cloudformation validate-template --template-body file://\~/Downloads/sample.json and got no errors. You said you are using boto3/botocore so you are just hitting the APIs directly. I can try that too.
Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
Currently, if template file contains rather valid JSON, but with mixed use of identation, cfn-lint does not show that as an issue, whilst boto3/botocore validate_template call will fail.
Describe the solution you'd like
cfn-lint should be able to detect mixed identation use and advise on fixing.
Additional context
This was found whilst investigating Sceptre/sceptre#1311 where cfn-linst, jq, and python -mjson.tool was used to validate early JSON, but all of them yielded that template is valid. cfn-lint should represent the same outcome as would botocore/boto3 iniated create stack which validates template.
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: