Skip to content

Commit

Permalink
Merge pull request #25681 from VictorCovalski/fix_web_id_assume_role
Browse files Browse the repository at this point in the history
Fix web id assume role
  • Loading branch information
ewbankkit authored Jul 5, 2022
2 parents d69df6d + 40d5f7b commit ff51ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/25681.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
provider: Ensure that the configured `assume_role_with_web_identity` value is used
```
1 change: 1 addition & 0 deletions internal/conns/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (c *Config) Client(ctx context.Context) (interface{}, diag.Diagnostics) {
awsbaseConfig := awsbase.Config{
AccessKey: c.AccessKey,
APNInfo: StdUserAgentProducts(c.TerraformVersion),
AssumeRoleWithWebIdentity: c.AssumeRoleWithWebIdentity,
CallerDocumentationURL: "https://registry.terraform.io/providers/hashicorp/aws",
CallerName: "Terraform AWS Provider",
EC2MetadataServiceEnableState: c.EC2MetadataServiceEnableState,
Expand Down

0 comments on commit ff51ed7

Please sign in to comment.