Loading...
Loading...
### Terraform Version ```shell Terraform v1.9.6 on darwin_amd64 ``` ### Terraform Configuration Files ```terraform terraform { backend "s3" { region = "eu-fr2" skip_region_validation = true skip_credentials_validation = true skip_metadata_api_check = true skip_requesting_account_id = true bucket = "my-bucket-12345" endpoints = { s3 = "https://{s3_suffix}.{region}.{dnsSuffix}:{custom_port}" } } } ``` ### Debug Output N/A ### Expected Behavior Given the configuration above, I'm expecting the terraform init command to try connecting to the S3 endpoint mentioned in the configuration. ### Actual Behavior This is not the case, it is trying to contact an endpoint with the suffix amazonaws.com instead of the configured suffix. Error refreshing state: RequestError: send request failed caused by: Get "https://{s3_suffix}.{region}.amazonaws.com/": dial tcp: lookup {s3_suffix}.{region}.amazonaws.com on : no such host Please note that using the deprecated attribute endpoint works like a charm. Therefore, I'm suspecting that endpoints.s3 is not handled in the same way. ### Steps to Reproduce terraform init with valid access/secret keys ### Additional Context _No response_ ### References _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.