aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
Cannot add required parameters to an existing stack
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
Other
### Resource Name
Parameter
### Issue Description
Currently, if you try to add a new parameter to your stack template, and the parameter has a `MinLength` attribute, then you cannot update the stack to use the new template via the CloudFormation web console.
### Expected Behavior
I would expect that I could upload the new template version, with a new parameter, and then I would be shown the _Parameters_ page as usual, where I could add a value for the new parameter.
### Observed Behavior
After uploading the new template file, I get a “_Parameter 'XYZ' must contain at least N characters_” error, which prevents me from reaching the page where I could actually set a value for the parameter.
### Test Cases
After creating a stack, edit its template to add a new parameter like this:
```
NewPassword:
MinLength: 8
MaxLength: 41
NoEcho: true
Type: String
```
Try to update the stack to use the new template.
### Other Details
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.