Avoid interactive backend/provider prompts in automation.

Section: CI and Automation

Init for CI

bash
bash
terraform init -input=false
Explanation

Avoid interactive backend/provider prompts in automation.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing CI and Automation
Plan without color
Disable ANSI color codes for cleaner CI logs.
OpenIn sheetbashsame section
Apply for CI
Apply non-interactively in automation.
OpenIn sheetbashsame section
Select or create workspace
Common automation pattern for ephemeral or environment-specific workspaces.
OpenIn sheetbashsame section
Save plan as pipeline artifact
Persist both binary and JSON plan outputs for later review or policy checks.
OpenIn sheetbash2 tag match
Custom TF_DATA_DIR in CI
Isolate Terraform local data in ephemeral build environments.
OpenIn sheetbash2 tag match
Basic validation step
Common fast feedback step before plan/apply.
OpenIn sheetbash2 tag match