The apply never sent the confirmation
On Terraform CLI 1.10.2 the cloud backend confirms a saved-plan run only when -auto-approve is false. The workflow passed -auto-approve, so the confirmation API call was skipped; Terraform attached to the remote run and waited for someone else to confirm it. Fixed upstream in hashicorp/terraform#36453.
if !op.AutoApprove && err != errRunApproved {
b.client.Runs.Apply(stopCtx, r.ID, tfe.RunApplyOptions{})
}
Timeline
- 00:06:55 job prints "Preparing the remote apply..." and the run URL
- no further output for 4 hours 48 minutes
- 04:54:14 job cancelled by hand
- hours later run confirmed in the HCP web UI, then applied