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

Replace Terraform DynamoDB state locking with native state locking #8345

Open
3 of 6 tasks
dms1981 opened this issue Oct 25, 2024 · 2 comments
Open
3 of 6 tasks

Replace Terraform DynamoDB state locking with native state locking #8345

dms1981 opened this issue Oct 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request terraform Pull requests that update Terraform code

Comments

@dms1981
Copy link
Contributor

dms1981 commented Oct 25, 2024

User Story

As a Modernisation Platform Engineer
I want to implement Terraform native state locking
So that I don't need to use DynamoDB for state locking

Value / Purpose

In Terraform 1.10.* Hashicorp will implement native state locking that is not reliant on DynamoDB tables.

The present use of DynamoDB for state locking introduces friction for our customers when stale state locks persist and require removal. Further to this we have to assume a role in the MP account in order to access the DynamoDB table.

By using native state locking we can reduce the amount of friction customers get by needing us to remove stale state locks, and we can simplify both our terraform configuration and our guidance on running local plans by removing the steps needed to assume a role in the main MP account during terraform init

Useful Contacts

No response

Additional Information

No response

Definition of Done

@SimonPPledger
Copy link
Contributor

Believe this is now available

@dms1981
Copy link
Contributor Author

dms1981 commented Jan 16, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request terraform Pull requests that update Terraform code
Projects
Status: In Progress
Development

No branches or pull requests

2 participants