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?
New capability
Describe the feature you'd like to request
There exist some CloudFormation types which allow you to add a "TemplateBody". This TemplateBody is itself a CloudFormation Template as a string.
Examples Types are:
When running cfn-lint the TemplateBody is not checked for correctness (it is a string).
Describe the solution you'd like
It would help a lot if the TemplateBody would be checked like the main template.
I can imagine a solution like
parsing the templatebody string to json or yaml
run the whole checker logic for the parsed object
Remark
within AWS::CloudFormation::StackSet any template could be the content. For AWS::Config::OrganizationConformancePack the body need to be of kind conformance pack.
Samples can be found here
It would be nice if in addtion in case of AWS::Config::OrganizationConformancePack it is checked if the TemplateBody has the right content in terms of it is a conformance pack
Additional context
Example template. The TemplateBody can also be yaml.
Do we use the same rule configuration the sub template. The rules themselves have no idea about the configuration of other rules which means this may have to exist inside the runner. The problem with it being in the runner is that we can't adjust the path to the failures so the location will be off (or need to be fixed)
If we make it a CloudFormation rule that re-runs a check using a process similar to the api code what rule number do we use in the response?
Is this feature request related to a new rule or cfn-lint capabilities?
New capability
Describe the feature you'd like to request
There exist some CloudFormation types which allow you to add a "TemplateBody". This TemplateBody is itself a CloudFormation Template as a string.
Examples Types are:
When running
cfn-lint
theTemplateBody
is not checked for correctness (it is a string).Describe the solution you'd like
It would help a lot if the
TemplateBody
would be checked like the main template.I can imagine a solution like
Remark
within
AWS::CloudFormation::StackSet
any template could be the content. ForAWS::Config::OrganizationConformancePack
the body need to be of kind conformance pack.Samples can be found here
It would be nice if in addtion in case of
AWS::Config::OrganizationConformancePack
it is checked if the TemplateBody has the right content in terms of it is a conformance packAdditional context
Example template. The TemplateBody can also be
yaml
.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: