Loading...
Loading...
### Terraform Version ```shell Terraform v1.10.0 on darwin_arm64 + provider registry.terraform.io/hashicorp/aws v4.45.0 + provider registry.terraform.io/hashicorp/vault v3.11.0 ``` ### Terraform Configuration Files ```terraform provider "aws" { region = var.region assume_role { role_arn = "arn:aws:iam::xxxxxxxxxxxx:role/OrganizationAccountAccessRole" } } ``` ### Debug Output https://gist.github.com/cmmarslender/98a7f7dac6b6b80a4192ee1f5f03e72b ### Expected Behavior Terraform init should not complain about the role_arn being unexpected. This worked fine on previous versions of terraform and is still the way the aws provider documents this should be done. ### Actual Behavior ```╷ │ Error: Unsupported argument │ │ on main.tf line 33, in terraform: │ 33: role_arn = "arn:aws:iam::xxxxxxxxxxxx:role/OrganizationAccountAccessRole" │ │ An argument named "role_arn" is not expected here. ╵ ``` ### Steps to Reproduce 1. `terraform init` with the provided aws config using assume_role ### Additional Context _No response_ ### References _No response_
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.