Skip to content

Remove unused policies and variables for state locking with dynamodb#1515

Merged
cadmiumcat merged 1 commit into
mainfrom
remove-dynamodb-tables
Apr 17, 2025
Merged

Remove unused policies and variables for state locking with dynamodb#1515
cadmiumcat merged 1 commit into
mainfrom
remove-dynamodb-tables

Conversation

@cadmiumcat
Copy link
Copy Markdown
Contributor

@cadmiumcat cadmiumcat commented Apr 11, 2025

What problem does this pull request solve?

Since we are using terraform's native s3 state locking (#1476) we no longer need have dynamodb tables or the permissions associated with it

Trello card

Things to consider when reviewing

We should only merge and apply this PR after #1476

I've applied this to dev with not backlash!

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Has all relevant documentation been updated?

Reminders

If you've made changes to the deployer role (files in modules/deployer-access):

  • Remember to run make <environment> forms/account apply on the relevant environments (dev, staging, user-research, and/or prod)
  • Check the #govuk-forms-deployment-notifications Slack channel to ensure the apply-forms-terraform-<environment> pipelines have run successfully

@cadmiumcat cadmiumcat marked this pull request as ready for review April 11, 2025 13:37
@cadmiumcat cadmiumcat force-pushed the native-s3-object-locking branch from 0b6460f to 9c08bf5 Compare April 14, 2025 14:02
@cadmiumcat cadmiumcat force-pushed the remove-dynamodb-tables branch from b37ffb6 to 1068fb7 Compare April 14, 2025 15:14
@cadmiumcat cadmiumcat force-pushed the native-s3-object-locking branch from 8059c3b to 10e8f86 Compare April 16, 2025 07:20
Base automatically changed from native-s3-object-locking to main April 16, 2025 07:45
@cadmiumcat cadmiumcat force-pushed the remove-dynamodb-tables branch from 1068fb7 to a7659a3 Compare April 16, 2025 08:15
@cadmiumcat cadmiumcat changed the title Remove unused policies and variables for state locking Remove unused policies and variables for state locking with dynamodb Apr 16, 2025
Copy link
Copy Markdown
Contributor

@sarahseewhy sarahseewhy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the thorough cleanup! 🚀

Since we are using terraform's native s3 state locking
(#1476) we no longer need have
dynamodb tables or the permissions associated with it
@cadmiumcat cadmiumcat force-pushed the remove-dynamodb-tables branch from 13a2020 to 477c7e0 Compare April 17, 2025 09:17
@cadmiumcat cadmiumcat merged commit 8dcc508 into main Apr 17, 2025
3 checks passed
@cadmiumcat cadmiumcat deleted the remove-dynamodb-tables branch April 17, 2025 09:38
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