'SSL GET failure with Terraform localstack and aws-sdk-go
Localstack, aws, terraform.
I am doing an init/apply and getting a simple SSL error that I have tried many many things to fix and two days of google searches. I really just want to disable (local env only) SSL checks for aws-sdk-go.
I have an /etc/hosts alias that points s3.amazonaws.com to a private network localstack instance.
Here is the error. I would really appreciate any help on solving this.
2022-04-17T14:53:42.026-0600 [DEBUG] [aws-sdk-go] DEBUG: Send Request s3/GetObject failed, attempt 5/5, error RequestError: send request failed caused by: Get "https://s3.amazonaws.com/osdubucket/terraform.tfstate": x509: certificate is valid for *.amplifyapp.localhost.localstack.cloud, *.cloudfront.localhost.localstack.cloud, *.execute-api.localhost.localstack.cloud, *.localhost.localstack.cloud, *.opensearch.localhost.localstack.cloud, *.s3.localhost.localstack.cloud, *.scm.localhost.localstack.cloud, localhost.localstack.cloud, not s3.amazonaws.com
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
