Created
August 23, 2021 04:44
-
-
Save SanthoshNC/8b5fae7ba7d8a9922d5173b3d7be9707 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To initialize a working directory containing Terraform configuration files | |
terraform init | |
# To rewrite Terraform configuration files to a canonical format and style | |
terraform fmt | |
# To validate the configuration files in a directory (not accessing any remote services such as remote state, provider APIs, etc) | |
terraform validate | |
# Optional to run || To generate a visual representation || Need Graphviz package | |
terraform graph | dot -Tpng > GithubasaCode.png | |
# To create an execution plan || using -out=FILE option, the plan could be stored as an external file | |
terraform plan | |
# To execute the actions proposed in a Terraform plan | |
terraform apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment