Loading...
Loading...
### Terraform Version ```shell v1.6.0-beta1 ``` ### Terraform Configuration Files ```terraform terraform { backend "s3" { bucket = "jb-test" key = "path/to/statefiles" region = "us-east-1" } } ``` ### Debug Output https://github.com/hashicorp/terraform/pull/31276#issuecomment-1703530574 ### Expected Behavior The `assume_role_with_web_identity` block should respect the corresponding AWS environment variables. ### Actual Behavior Role assumption flow fails. ### Steps to Reproduce 1. Set the `AWS_ROLE_ARN` and `AWS_WEB_IDENTITY_TOKEN_FILE` environment variables. 2. `terraform init` 3. Observe failure ### Additional Context Originally reported in this comment: https://github.com/hashicorp/terraform/pull/31276#issuecomment-1703530574 ### References Relates #31276 Relates #33730
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.