You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/<key_path_to_tf_state>": 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
The text was updated successfully, but these errors were encountered:
Thank you for reporting this! The S3 backend is managed by the AWS Provider team at HashiCorp, and this issue has been added to their triage queue. Thanks again!
Terraform Version
Terraform Configuration Files
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/<key_path_to_tf_state>": 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
The text was updated successfully, but these errors were encountered: