Hi,
I started upgrading my TF stack from 0.11 to 0.12. But, failing to read one of the remote state file.
I’m trying to read terraform_remote_state
which was generated by 0.11.14 from 0.12.24. Seems unable to read the remote state.
Here find more details
Remote tfstate file as attached. remote-state.txt (618 Bytes)
Remote state file defined as attached ( remote state file was generated by 0.11.14)
main.txt (425 Bytes)
Getting below error while running terraform plan
Error: Unsupported attribute
on main.tf line 47, in module “asg”:
47: subnets = data.terraform_remote_state.vpc.app_priv_subnet_idsThis object has no argument, nested block, or exported attribute named
“app_priv_subnet_ids”.Error: Unsupported attribute
on main.tf line 53, in module “asg”:
53: app_security_groups = data.terraform_remote_state.vpc.env_security_groupsThis object has no argument, nested block, or exported attribute named
“env_security_groups”.
Kindly help me to solve this problem.
NOTES:
- I can read this remote state if i use TF-0.11.14 version.
- I can’t upgrade my remote state to 0.12 at the moment.
Thanks,
Raj