Skip to content
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

Suggestion for custom-named resource replacement error #17

Open
pinnareet opened this issue Nov 13, 2020 · 1 comment
Open

Suggestion for custom-named resource replacement error #17

pinnareet opened this issue Nov 13, 2020 · 1 comment

Comments

@pinnareet
Copy link

pinnareet commented Nov 13, 2020

I have been working with AWS SAM and ran into a similar error here: CloudFormation cannot update a stack when a custom-named resource requires replacing. AWS support recommended that I remove the resource from the template so it gets deleted, then put it back in later. I think it's cleaner that way than renaming the resource to a dummy new name. Well, just an idea :) I'm not entirely sure if things will work the same way in Serverless. Would like to hear your thoughts on this. Thanks.

@jayair
Copy link
Collaborator

jayair commented Nov 13, 2020

Yeah that could work as well. The issue is if your stack has a lot of other resources that you can't afford to remove right away. The rename trick just targets the one resource that has the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants