QuestionQ28

VerifiedHCP Terraform

You are responsible for infrastructure managed by two workspaces: example-network and example-compute. The example-compute workspace uses data from output values configured in the example-network workspace and must be deployed afterward. At present, this is a manual process:

  • An operator deploys changes to the example-network workspace.
  • They manually copy output values from the example-network workspace into input variables configured for the example-compute workspace.
  • They deploy the example-compute workspace.

Which HCP Terraform features can automate this process?

Choose two
Explanation

HCP Terraform run triggers queue a run in the destination workspace after a successful apply in a configured source workspace, so example-compute must be configured to trigger from example-network. The tfe_outputs data source lets the compute configuration read output values from the network workspace directly, eliminating manual copying of values.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!