All apps/Terraform

Terraform

terraform

An infrastructure as code tool that lets you build, change, and version infrastructure safely and efficiently.

Runs as terraform|macOS, Linux, Windows|developer.hashicorp.com

Command form

ai-draft · 4 tasks · 13 fields

Initialize, validate, plan and apply Terraform configuration. Only flags listed in the Fig spec are offered, so apply -auto-approve and similar are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui terraform
Terraform workflowExample values, fixed in this page — nothing here reaches a terminal
Basic
Working directory
directory
ParametersOnly these flags are editable in the form
Working directory
path
-chdir

terraform init

Initialize working directory

Download providers and modules. Backend options are left out.

Initialize working directoryExample values, fixed in this page — nothing here reaches a terminal
Basic
Upgrade modules and plugins
-upgrade
TasksEach one presets the form for one job
Initialize
upgrade
ParametersOnly these flags are editable in the form
Upgrade modules and plugins
boolean
-upgrade
Disable color
boolean
-no-color

terraform plan

Plan changes

Show what Terraform would change. Nothing is applied.

Plan changesExample values, fixed in this page — nothing here reaches a terminal
Basic
Save plan to file
file
Variable file
file
Variables (name=value)
string
TasksEach one presets the form for one job
Plan and save
outvar_filevar
Plan a destroy
destroyout
ParametersOnly these flags are editable in the form
Save plan to file
path
-out
Variable file
path
-var-file
Variables (name=value)
string · repeatable
-var
Target resource addresses
string · repeatable
-target
Plan to destroy everything
boolean
-destroy
Detailed exit code
boolean
-detailed-exitcode
Refresh state first
enum
-refreshtruefalse
Parallelism
integer
-parallelism
Disable color
boolean
-no-color

terraform apply

Apply changes

Create or update infrastructure, optionally from a saved plan file. Review the plan first.

Apply changesExample values, fixed in this page — nothing here reaches a terminal
Basic
Saved plan file*
file
TasksEach one presets the form for one job
Apply saved plan
plan_file
ParametersOnly these flags are editable in the form
Saved plan file
path · positional 0
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed terraform against its version. A form that does not match your version is not offered.