YardmasterYardmaster Docs

Terraform runs

A Terraform run provisions infrastructure from a working directory of .tf files. The run's command names that directory, relative to the project checkout.

What runs

terraform init runs first; if it fails the run stops there with init's result. Then terraform apply -auto-approve applies the configuration. A dry run runs terraform plan instead, so it previews the change without touching infrastructure. All three run with -input=false -no-color, so a run never blocks on a prompt.

How values reach the configuration

Example

A directory infra/network holding:

variable "region" { type = string }
output "vpc" { value = "vpc-${var.region}" }

Launch a Terraform run with the command set to infra/network and a survey field region. A dry run shows the plan; a real run applies it.

See also Bash runs, Python runs, and the tutorials.