NOTES
- Filters CR characters out of AWS SDK for Go logs. (#173)
ENHANCEMENTS
- Support HTTP proxy configuration. #46
- Enables verbose credential chain errors. #63
- Extends
tfawserr.ErrCodeEquals
to chech multiple error codes. #55
BUG FIXES
- session: Reorder User-Agent header so configuration products take precedence over AWS SDK Go product #56
ENHANCEMENTS
- Optionally log the STS API calls when assuming a role #51
BREAKING CHANGES
- AWS error checking function have been moved to
tfawserr
package.IsAWSErr
has been renamed toErrMessageContains
andIsAWSErrExtended
has been renamed toErrMessageAndOrigErrContain
. #37
ENHANCEMENTS
- Additional AWS error checking function have been added to the
tfawserr
package -ErrCodeEquals
,ErrCodeContains
andErrStatusCodeEquals
. - Support for appending data to User-Agent request header with the
TF_APPEND_USER_AGENT
environment variable. #47
BREAKING CHANGES
- Credential ordering has changed from static, environment, shared credentials, EC2 metadata, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) to static, environment, shared credentials, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata). #20
- The
AWS_METADATA_TIMEOUT
environment variable no longer has any effect as we now depend on the default AWS Go SDK EC2 Metadata client timeout of one second with two retries. #20 / #44
ENHANCEMENTS
- Always enable AWS shared configuration file support (no longer require
AWS_SDK_LOAD_CONFIG
environment variable) #38 - Automatically expand
~
prefix for home directories in shared credentials filename handling #40 - Support assume role duration, policy ARNs, tags, and transitive tag keys via configuration #39
- Add
CannotAssumeRoleError
andNoValidCredentialSourcesError
error types with helpers #42
BUG FIXES
- Properly use custom STS endpoint during AssumeRole API calls triggered by Terraform AWS Provider and S3 Backend configurations #32
- Properly use custom EC2 metadata endpoint during API calls triggered by fallback credentials lookup #32
- Prefer shared configuration handling over EC2 metadata #20
- Prefer ECS credentials over EC2 metadata #20
- Remove hardcoded AWS Provider messaging in error messages #31 / #42
BUG FIXES
- awsauth: fixed credentials retrieval, validation, and error handling
BUG FIXES
- session: Return error instead of logging with AWS Account ID lookup failure [GH-3]
ENHANCEMENTS
- validation: Add
ValidateAccountID
andValidateRegion
functions [GH-1]
- Initial release after split from github.com/terraform-providers/terraform-provider-aws