-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Terraform image to v1.7.1 from v1.5.7 #5659
Comments
We are looking into this one @snippzzy we will get back to you on this. |
Hi @snippzzy the code that you shared is to use s3 bucket as a terraform backend - eg :
Let us know if this resolves the issue. |
This didn't solve my problem as I currently use IBM cloud provider. The information provided was for AWS S3 Bucket and Tencent COS Bucket, I need assistance for IBM cloud object storage. Thanks |
Hi @snippzzy this is the code snippet that tried and it worked for me even with the latest IBM COS terraform provider -
There were no changes made related to this and one can still use COS as backend indirectly by using s3 api. |
This issue was fixed by replacing with: endpoints = { s3 = "" } |
Community Note
Question
I am currently upgrading my Terraform version but I am having issues with the upgrade as it seems to be trying to authenticate to AWS S3 bucket, despite the fact that I'm referring to IBM COS Bucket as my Statefile storage backend (s3). Can I no longer use COS Bucket to store my Terraform backend, or how do I proceed to continue to store use COS Bucket for my backend? In the case that this is not feasible, what other options do I have for storing my Statefiles in IBM cloud and how do I configure this? Thanks
New or Affected Resource(s) or Datasource(s)
Potential Terraform Configuration
References
I get this error:
│ Warning: Deprecated Parameter
│
│ on provider.tf line 15, in terraform:
│ 15: endpoint = "https://s3.private.eu-gb.cloud-object-storage.appdomain.cloud/"
│
│ The parameter "endpoint" is deprecated. Use parameter "endpoints.s3"
│ instead.
╵
╷
│ 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, exceeded maximum number of attempts, 5, https response error StatusCode: 0, RequestID: , request send failed, Post "https://sts.eu-gb.amazonaws.com/": Service Unavailable
│ * retrieving account information via iam:ListRoles: operation error IAM: ListRoles, https response error StatusCode: 403, RequestID: dd47c937-3a37-421b-9332-33d6b987b642, api error InvalidClientTokenId: The security token included in the request is invalid.
│
│
│
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1
The text was updated successfully, but these errors were encountered: