HashiCorp Terraform-Associate-004 Question Answer
You have two separate Terraform configurations:
Configuration A provisions a virtual network and subnets.
Configuration B provisions compute resources that must be attached to those subnets.
In Configuration B, you have a terraform_remote_state data source configured to read Configuration A’s local state file. When running terraform plan for Configuration B in a CI/CD pipeline, Terraform fails because the state file cannot be found and is not accessible to the pipeline runtime.
What is the best solution to reliably access the state data from Configuration A in this scenario?
HashiCorp Terraform-Associate-004 Summary
- Vendor: HashiCorp
- Product: Terraform-Associate-004
- Update on: Jul 6, 2026
- Questions: 366

