Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

You have two separate Terraform configurations:Configuration A provisions a virtual network and subnets.

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?

A.

Switch to input variables in Configuration B and supply the values using a terraform.tfvars file.

B.

Change the path argument to use an absolute filesystem path so Terraform can always locate the local state file.

C.

Migrate Configuration A to a remote backend and update the terraform_remote_state data source in Configuration B to reference that remote backend.

D.

Combine the two configurations into a single configuration and use local references.

HashiCorp Terraform-Associate-004 Summary

  • Vendor: HashiCorp
  • Product: Terraform-Associate-004
  • Update on: Jul 6, 2026
  • Questions: 366
Price: $52.5  $149.99
Buy Now Terraform-Associate-004 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method