terraform
Provides wrappers around the Terraform CLI (init/plan/apply/destroy) for projects that manage their own state.
⚠️
This extension relies on external Terraform state.
Available Commands
| Command | Description |
|---|---|
| <command> | Runs an arbitrary Terraform command (action name is forwarded to terraform). |
| init | Initializes Terraform providers and backend. |
| validate | Generate plan file. |
| select | Select workspace. |
| plan | Generate plan file. |
| destroy | Destroy the deployment. |
| apply | Apply plan file. |
Project Initializer
Declares default outputs for Terraform runs.
project {
@terraform { }
}Equivalent to:
project {
ignores = [ ".terraform/" "*.tfstate/" ]
outputs = [ "*.planfile" ]
}Last updated on