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

Revert "Add riff raff project tag" #1378

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

jorgeazevedo
Copy link
Contributor

Reverts #1374

It's emerged that this change might break deployments for projects that use the ami update functionality. If the stack has enough components that all need to be tagged, the list of events in the cloudformation stack becomes so long that it breaks.

See
https://github.com/guardian/riff-raff/blob/main/magenta-lib/src/main/scala/magenta/deployment_type/AmiCloudFormationParameter.scala#L34

We think that removing this tag should be safe as riff raff should not remove the tags that have already been added. It will just stop adding tags to new deployments, and the ~40 projects that rely on this ami update deployment type should continue to work without issue.

@jorgeazevedo jorgeazevedo marked this pull request as ready for review September 25, 2024 15:51
@jorgeazevedo jorgeazevedo requested review from a team as code owners September 25, 2024 15:51
@jorgeazevedo
Copy link
Contributor Author

@akash1810 Question: we should be able to test if tags do not get removed by deploying this branch to CODE deploying cdk playground, right?

@akash1810
Copy link
Member

@akash1810 Question: we should be able to test if tags do not get removed by deploying this branch to CODE deploying cdk playground, right?

Yes. Indeed we patched this behaviour in #1379.

@jorgeazevedo
Copy link
Contributor Author

@akash1810 tested with the latest changes from #1379 and yeah, it no longer removes the tags and behaves how we originally expected. I've enabled auto-merge if you're up for giving it a thumbs up

@jorgeazevedo jorgeazevedo merged commit 26b2418 into main Sep 26, 2024
3 checks passed
@jorgeazevedo jorgeazevedo deleted the revert-1374-ja-add-riff-raff-project-tag branch September 26, 2024 13:02
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.

2 participants