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
…t customization bugs (#32)
Reference: #2
Reference: hashicorp/terraform-provider-aws#9869
Reference: hashicorp/terraform#25056
Practitioner facing changes:
- Properly use custom STS endpoint during AssumeRole API calls triggered by Terraform AWS Provider and S3 Backend configurations
- Properly use custom EC2 metadata endpoint during API calls triggered by fallback credentials lookup
Other changes:
- Use Go 1.13 wrapped error handling
- Introduce centralized endpoints.Resolver for custom endpoint handling
- Introduce mock ECS credentials server
- Introduce STS AssumeRole valid and invalid API responses
Description
The migrated code from https://github.com/github.com/terraform-providers/terraform-provider-aws never included end-to-end testing for the AWS Go SDK credential ordering and session construction.
It should be possible to assemble testing similar to https://github.com/aws/aws-sdk-go/blob/5b6de26cd5565bb7349fc12593b83ddc5ce343e0/aws/session/session_test.go to ensure updates to this codebase do not cause unexpected behavior or regressions.
The text was updated successfully, but these errors were encountered: