Loading...
Loading...
### Terraform Version ```shell Terraform v1.10.2 ``` ### Terraform Configuration Files ```terraform terraform { backend "s3" { bucket = "vinitfstate" key = "tfstate" endpoints = { s3 = "https://minioapi.mydomain.xyz" } access_key = "my_access_key" secret_key = "my_secret_key" region = "main" use_path_style = true skip_region_validation = true skip_credentials_validation = true skip_metadata_api_check = true skip_requesting_account_id = true skip_s3_checksum = true } } ``` ### Debug Output ``` Initializing the backend... Initializing modules... ╷ │ Error: Error inspecting states in the "local" backend: │ Unable to list objects in S3 bucket "vinitfstate" with prefix "env:/": operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: xxxxxxxxxx, HostID: xxxxxxxx, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method. │ │ Prior to changing backends, Terraform inspects the source and destination │ states to determine what kind of migration steps need to be taken, if any. │ Terraform failed to load the states. The data in both the source and the │ destination remain unmodified. Please resolve the above error and try again. ``` ### Expected Behavior It should run smoothly ### Actual Behavior Getting 403 while trying to setup terraform backend as a bucket in Minio: Initializing the backend... Initializing modules... ╷ │ Error: Error inspecting states in the "local" backend: │ Unable to list objects in S3 bucket "vinitfstate" with prefix "env:/": operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 1818DCEBCA790BDB, HostID: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method. │ │ Prior to changing backends, Terraform inspects the source and destination │ states to determine what kind of migration steps need to be taken, if any. │ Terraform failed to load the states. The data in both the source and the │ destination remain unmodified. Please resolve the above error and try again. ### Steps to Reproduce 1. terraform init ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.