init - initializes a working directory containing
Terraform configuration files. It is safe to run this command multiple
times.Provisioning Infrastructure
plan - presents a plan for making changes, dry-run of
applyapply - applies the planned changes to each resource
using the relevant infrastructure provider’s APIdestroy - destroys all of the resources being managed
by the current working directory and workspaceInspecting Infrastructure
graph - creates a visual representation of a
configuration or a set of planned changes.output - can get the values for the top-level output
values of a configurationshow - can generate human-readable versions of a state
file or plan file, or generate machine-readable versions that can be
integrated with other tools.Developing
fmt - formatvalidate - validates the configuration files in a
directory, referring only to the configuration and not accessing any
remote services such as remote state, provider APIs, etc.See Also: terraform cli doc