3f15326248
Update github.com/aws/aws-sdk-go and github.com/hashicorp/go-discover to pick up support for EC2 Metadata Instance Service v2 changes. Follow up to https://github.com/hashicorp/go-discover/pull/128 .
12 lines
242 B
Go
12 lines
242 B
Go
package sts
|
|
|
|
import "github.com/aws/aws-sdk-go/aws/request"
|
|
|
|
func init() {
|
|
initRequest = customizeRequest
|
|
}
|
|
|
|
func customizeRequest(r *request.Request) {
|
|
r.RetryErrorCodes = append(r.RetryErrorCodes, ErrCodeIDPCommunicationErrorException)
|
|
}
|