Closed robertadesso1 closed 7 months ago
Hello @robertadesso1,
Hashicorp added a sha256 checksum validation on put operations with version 1.6.
Unfortunately we don´t support the x-amz-checksum-sha256 header on put operations.
Therefore you must skip the validation using the parameter skip_s3_checksum = true
on your backend configuration to make it work with tf 1.6 onwards.
Let me know if this fixes your issue.
We will also add documentation on how to configured a terraform backend using STACKIT Object Storage.
We plan on deploying our infrastructure via Terraform and want to use a StackIt Bucket as backend for our .tfstate. There is a lack of documentation regarding this topic in the terraform registry or the StackIt.
Our current configuration looks like this:
The access_key is the access key id out of the buckets credentials out of the stackit web console. The secret_key is the access key out of the buckets credentials out of the stackit web console.
When trying to relocate an already existing .tfstate to the bucket we get this error:
with
When trying to create a completly new .tfstate without relocating the already existing one it looks like it was successfull, however no .tfstate is created. The credentials provided were used to connect to the bucket with the Cyberduck client as described in the StackIt documentation and are correct. I was able to create a file with the Cyberduck client with these exact credentials.
Overall there is a lack of documentation on how to get the backend configured correctly.