terraform-provider-scaleway
terraform-provider-scaleway copied to clipboard
Add support for remote state lock
trafficstars
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
We use Scaleway object storage to store remote state, but as mentioned in the documentation, it does not support state locking for the moment :
Be careful as no locking mechanism are yet supported. Using scaleway object storage as terraform backend is not suitable if you work in a team with a risk of simultaneous access to the same plan.
Is this feature actually in your roadmap ? It would be nice to also have a proper backend configuration relying on SCW CLI configuration file instead of duplicating in an S3 credentials file !
Potential Terraform Configuration
terraform {
backend "scw" {
bucket = "terraform-state"
key = "my_state.tfstate"
region = "fr-par"
lock = true
}
}