You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, most apps utilizing terraform to manage cloud.gov infrastructure use the s3 backend for state storage, but have no mechanism to lock terraform runs, increasing the risk of bad interactions via concurrent terraform runs by multiple CI branches and/or developers
rahearn
changed the title
SPIKE: investigate supporting easy use of pg backend
SPIKE: investigate supporting easy terraform locking via cloud.gov-managed services
May 9, 2024
Background
Currently, most apps utilizing terraform to manage cloud.gov infrastructure use the s3 backend for state storage, but have no mechanism to lock terraform runs, increasing the risk of bad interactions via concurrent terraform runs by multiple CI branches and/or developers
Potential options:
PG backend
https://developer.hashicorp.com/terraform/language/settings/backends/pg
Does both state storage and locking withing postgres
Expose DynamoDB as an SSB service
Continue to utilize s3 for state and make it easy to pair with DynamoDB for locking
OpenTofu DynamoDB-free locking in S3
opentofu/opentofu#599 - currently just a proposal, but would likely be the cheapest and easiest to operate if it exists by the time this is worked on.
The text was updated successfully, but these errors were encountered: