LinuxCommandLibrary

terraform

terraform

TLDR

Initialize a new or existing Terraform configuration

$ terraform init
copy


Verify that the configuration files are syntactically valid
$ terraform validate
copy


Format configuration according to Terraform language style conventions
$ terraform fmt
copy


Generate and show an execution plan
$ terraform plan
copy


Build or change infrastructure
$ terraform apply
copy


Destroy Terraform-managed infrastructure
$ terraform destroy
copy

Copied to clipboard