Open arundhingra opened 1 day ago
Hi @arundhingra,
The terraform_remote_state
data source only has a config
attribute for configuration, because that object contains the entire configuration for the backend being used. Does it work if you add assume_role
into the config
object?
Terraform Version
Terraform Configuration Files
Debug Output
n/a
Expected Behavior
Terraform should apply successfully
Actual Behavior
Terraform did not apply successfully
Steps to Reproduce
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 theassume_role
block (docs).However, the
assume_role
block is not supported for theterraform_remote_state
data source (docs).References
https://github.com/hashicorp/terraform/pull/35721