1 Answer

0 votes
by

The command-line interface to Terraform is via the terraform command, which accepts a variety of subcommands such as terraform init or terraform plan.

Common commands are listed below for Terraform:

  • terraform init: Prepare your working directory for other commands
  • terraform validate: Check whether the configuration is valid
  • terraform plan: Show changes required by the current configuration
  • terraform apply: Create or update infrastructure
  • terraform destroy: Destroy previously-created infrastructure
...