Your HCP Terraform runs can't reach an internal Git server. What are your options?
IntermediateScenarioPipelines Terraform Cloud and OpenTofu
Answer
Situation read → VCS or private module sources aren't reachable from the managed runners.
What I'd do →
- Publish modules to the HCP private registry instead of private Git URLs.
- Use agents in your network for runs that need internal access.
- Or run CLI-driven, with your CI uploading the configuration.
Why → Moving the dependency to where the runner can reach it is easier than opening network paths.
Interview tip → Note that agents handle runs, but VCS webhooks still need to reach HCP.
More on Pipelines Terraform Cloud and OpenTofu
Build a basic GitHub Actions pipeline: plan on pull request, apply on merge to main.BeginnerReviewers can't read raw plan logs. How do you present the plan in the PR?IntermediateTwo PRs merge close together and both apply to the same stack. What prevents trouble?IntermediateHow do you add a manual approval before prod applies?IntermediateCompare Atlantis, HCP Terraform and a hand-built GitHub Actions pipeline.IntermediateA saved plan was approved yesterday and apply fails because main changed. How do you avoid dead approvals?Intermediate