S
S3 Api
T
Terraform
O
Ovh
24 Nov (a year ago)
Tools
S3 Api
Terraform
Ovh
You can click on each tool to see the details about them.
Category
Description
Details
Before 1.6.4 terraform, here are some examples of errors while the apply
:
Error: Retrieving AWS account details: AWS account ID not previously found and failed retrieving via all available methods.
See https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id for workaround and implications.
Errors: 2 errors occurred:
* retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post "https://sts.gra.amazonaws.com/": dial tcp: lookup sts.gra.amazonaws.com on 127.0.0.53:53: no such host
* retrieving account information via iam:ListRoles: operation error IAM: ListRoles, https response error StatusCode: 403, RequestID: bbf82e6b-3178-414a-9503-e16ef675bea2, api error InvalidClientTokenId: The security token included in the request is invalid.
Error: Failed to save state
Error saving state: failed to upload state: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 0a3d0687:189c57fbda4:59f00:c15, HostID:
081a966b5d23d91a6a72d9bcc2f38088d47ca56d8e6c7ee9b2c0055d044ae504, api error XAmzContentSHA256Mismatch: The Content-SHA256 you specified did not match what we received
Error: Failed to persist state to backend
Since Terraform 1.6.4, you need to add new parameters in your backend configuration skip_s3_checksum = true
and skip_requesting_account_id = true
Here a terraform file with good settings :
terraform {
backend "s3" {
bucket = "bucket-name"
key = "key-file-name.tfstate"
region = "gra" #or sbg or any activated high performance storage region
endpoints = {
s3 = "https://s3.gra.io.cloud.ovh.net"
}
skip_credentials_validation = true
skip_region_validation = true
skip_metadata_api_check = true
skip_s3_checksum = true
skip_requesting_account_id = true
}
}
💬 Please feel free to comment if you encounter any issues 💬
Others Kit
Petit kit du débutant pour commencer avec reactjs
Gez89 . 25 Nov
React
Webpack
Babel
ESLint
Complete stack to build a modern website as a team
Paul . 22 Nov
Pinegrow
Gravit Designer
Figma
Unveiling python web for beginners
Christophe . 23 Nov
Python
Pipenv
Jupyter
Easy no code mvp
volkeim . 29 Nov
Airtable
Figma
Webflow
Gandi
Make
Stripe
Be the first to comment