Chore: upgrade gocloud.dev and go mod tidy (#47797)

This commit is contained in:
Ryan McKinley
2022-04-15 07:48:44 -07:00
committed by GitHub
parent 4510519941
commit 031a8e140a
3 changed files with 213 additions and 111 deletions
+2
View File
@@ -114,6 +114,8 @@ func webIdentityProvider(sess client.ConfigProvider) credentials.Provider {
roleARN := os.Getenv("AWS_ROLE_ARN")
tokenFilepath := os.Getenv("AWS_WEB_IDENTITY_TOKEN_FILE")
roleSessionName := os.Getenv("AWS_ROLE_SESSION_NAME")
// nolint:staticcheck
return stscreds.NewWebIdentityRoleProvider(svc, roleARN, roleSessionName, tokenFilepath)
}