Loading...
Loading...
### Terraform Version ```shell Terraform v1.10.0 on darwin_arm64 + provider registry.terraform.io/hashicorp/aws v5.79.0 ``` ### Terraform Configuration Files ```terraform data "terraform_remote_state" "remote_state" { backend = "s3" config = { bucket = "state_bucket" encrypt = true key = "terraform.tfstate" region = "us-east-1" } assume_role = { role_arn = "arn:aws:iam::0000000000:role/state-role" } } ``` ### Debug Output n/a ### Expected Behavior Terraform should apply successfully ### Actual Behavior Terraform did not apply successfully ### Steps to Reproduce 1. terraform init 2. terraform apply ### Additional Context The role_arn field was deprecated from the S3 backend `config` block, and the functionality removed in terraform version 1.10. It is recommended to instead use the `assume_role` block ([docs](https://github.com/hashicorp/terraform/pull/35721)). However, the `assume_role` block is not supported for the `terraform_remote_state` data source ([docs](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/data-sources/remote_state)). ### References https://github.com/hashicorp/terraform/pull/35721
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.