SSL validation failed for https://ec2.us-east-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.5.2
AWS Provider Version
5.7.0
Affected Resource(s)
aws_launch_template aws_ebs_encryption_by_default etc
Expected Behavior
Similar to aws cli, propagate an error. AWS_CA_BUNDLE was set for corporate network TLS inspection.
❯ aws ec2 describe-launch-templates --region us-east-1
SSL validation failed for https://ec2.us-east-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)
Actual Behavior
Terraform hangs during apply
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
Panic Output
No response
Important Factoids
macOS 13.4.1 Terraform v1.5.2 on darwin_arm64
References
https://docs.aws.amazon.com/sdkref/latest/guide/feature-gen-config.html
Would you like to implement a fix?
None