Has anyone figured out how to configure terraform remote state to work with spaces by using its s3 driver. I have got other things that use s3 to work with spaces but have failed with terraform so far
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Works great for me too :) this is the config I used :
Works great for me too :) this is the config I used :
Works great for me too :) this is the config I used :
A future release of terraform should support using other s3 compatible backends like Spaces but none of the currently available versions(v0.10.7 is the current latest) will work.
I was able to configure terraform to store remote state in Spaces by building terraform from source and using the config
Note the region key is set to a known s3 region. Attempting to use an unknown region still causes terraform to complain
https://github.com/hashicorp/terraform/pull/15553
Does it support state file locking? AWS supports locking using dynamodb table.
Does it support encrypt ?