aws-cloudformation / aws-cloudformation/cfn-lint
Feature request: Validated parameters provided to nested stack against nested template.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 643
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 41
Description
*cfn-lint version: (`cfn-lint --version`)*
0.48.0
*Description of issue.*
I frequently use nested stacks with SAM build. When I lint the root template and the nested stack is setup using `TemplateURL` pointing to a local file, I would like to have cfn-lint check that any parameters in the nested template without a default value are set by parameters in the root stack. Also I would like it to flag any parameters set by the root template that are not present in the nested template.
Checking the parameter types would be an amazing feature but might be difficult, so just matching the parameter names would be sufficient.
Contributor guide
Research direction
Start by reproducing the request with a root CloudFormation template whose nested stack uses TemplateURL for a local nested template, using cfn-lint 0.48.0 as the baseline. Done means reporting required nested-template parameters that are not supplied by the root and supplied parameters that do not exist in the nested template; parameter type checking is optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- infrastructure, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100