Error: Instance data.aws_region.current data could not be decoded from the state unsupported attribute "current #14763
Labels
bug
Addresses a defect in current functionality.
upstream-terraform
Addresses functionality related to the Terraform core binary.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.12.24, hashicorp/aws v2.70.0
Affected Resource(s)
data "aws_region" "current" {}
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform plan runs without issue
Actual Behavior
ALL my team's pipelines have suddenly started failing when running terraform plan with the same error. This is across the board and no changes on our pipelines were made from the time things were working to the time this issue started.
Error: Invalid resource instance data in state
on main.tf line 19:
19: data "aws_region" "current" {}
Instance data.aws_region.current data could not be decoded from the state:
unsupported attribute "current".
Steps to Reproduce
terraform plan
with the versions specified above.Important Factoids
References
The text was updated successfully, but these errors were encountered: