-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fn::ForEach stack updates does not trigger change #146
Comments
This may not be specifically related to Excerpt of this template:
Interestingly, I realized that we don't need This can't be the expected behaviour, can it? |
Me too.. |
This is due to the behavior of calling UpdateStack or CreateChangeSet with the i.e. if a stack is created with the following template with the parameter
the processed template would have resolved A potential resolution for this would be adding an additional parameter to the UpdateStack & CreateChangeSet API's, where if the additional parameter is specified with a specific value (Ex: true), then the original template (and not the processed template) would be used in the UpdateStack or CreateChangeSet call. |
Is this due to be fixed? This blocks the use of the AWS::LanguageExtensions and subsequent Fn::ForEach Intrinsic Functions for advanced use cases of CloudFormation. |
Community Note
Tell us about the bug
I am creating resources using
Fn::ForEach
. What resources to create are configured using a CommaDelimitedList Parameter. When changing the values in this list I expect resources to be created/deleted/updated but the ChangeSet does not pick up on the change:I can work around the problem by uploading a new, _ identical_, copy of the template. This will correctly generate a new changeset that can be deployed as expected.
Expected behavior
I should be able to change a CommaSeparatedList to change the resources generated by
Fn::ForEach
without having to provide the template file.Observed behaviour
Unless the template is also updated, although identical, the changeset does not pick up on the changes.
Test cases
Additional context
I have only tested the behavior via the AWS Console.
The text was updated successfully, but these errors were encountered: