CmdID

CmdID / Commands

terraform-apply

Create or update infrastructure according to Terraform configuration files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create or update infrastructure

terraform applyIdentify

Create or update infrastructure, skipping interactive approval

terraform apply -auto-approveIdentify

Apply a plan file

terraform apply path/to/file.tfplanIdentify

Specify values for input variables

terraform apply -var 'name1=value1' -var 'name2=value2'Identify

Specify values for input variables from a file

terraform apply -var-file path/to/file.tfvarsIdentify

Apply changes to a specific resource

terraform apply -target resource_type.resource_name[instance_index]Identify

Replace a specific resource

terraform apply -replace resource_type.resource_name[instance_index]Identify

Destroy Terraform-managed infrastructure

terraform apply -destroyIdentify