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

Fix stack tags to always replace on update. #206

Merged
merged 8 commits into from
Dec 18, 2023
Merged

Conversation

komalali
Copy link
Member

@komalali komalali commented Dec 18, 2023

Stack tags don't really need to be updated since they're not stateful. We can always just replace the tag, with a delete before replace. This ensures that it's always Create that is called, rather than Update. This keeps things simple and avoids potential bugs in the Update code, of which there have been multiple. Exhibit A Exhibit B

Fixes #169

@komalali komalali changed the base branch from main to komal/stack-perm-read December 18, 2023 17:24
@komalali komalali requested review from a team, glena, djgrove and cleverguy25 and removed request for a team December 18, 2023 17:30
Base automatically changed from komal/stack-perm-read to main December 18, 2023 18:48
@komalali komalali merged commit a467ccf into main Dec 18, 2023
12 checks passed
@komalali komalali deleted the komal/stack-tags branch December 18, 2023 20:09
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

Successfully merging this pull request may close these issues.

StackTag: Updating stack tag name throws an error
2 participants