[TIL] Useful terraform commands
Listing some useful Terraform commands I’ve been using lately.
Initialize a working directory
terraform initCreate an execution plan with preview
terraform planExecute actions proposed in a plan
terraform applyFormat configuration files into a canonical format and style
terraform fmtMore about terraform fmt.
Extract the value of an output variable from the state file
terraform outputDestroy all remote objects managed by a particular configuration
terraform destroyMore about terraform destroy.