Terraform Commands
Infrastructure as code.
Workflow
terraform initInitializes a working directory — downloads providers and modules, and sets up the backend.
terraform planShows what changes Terraform would make without actually applying them.
terraform applyApplies the changes required to reach the desired state described in your configuration.
terraform destroyDestroys all resources managed by the current Terraform configuration.
terraform fmtRewrites configuration files to a canonical format and style.
terraform validateChecks whether a configuration is syntactically valid and internally consistent.
terraform outputPrints the values of output variables defined in the configuration.