terraform cli code example
Example 1: enable tab completion in terraform
#Enable Auto-Complete when using bash or sh
terraform -install-autocomplete
Example 2: terraform commands
Main commands:
init Prepare your working directory for other commands
validate Check whether the configuration is valid
plan Show changes required by the current configuration
apply Create or update infrastructure
destroy Destroy previously-created infrastructure