Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the most useful Terraform commands?
Home
Terraform
What are the most useful Terraform commands?
0
votes
asked
Mar 6, 2023
in
Terraform
by
rajeshsharma
What are the most useful Terraform commands?
terraform
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 6, 2023
by
rajeshsharma
Some of the most useful Terraform commands are:
terraform init - initializes the current directory
terraform refresh - refreshes the state file
terraform output - views Terraform outputs
terraform apply - applies the Terraform code and builds stuff
terraform destroy - destroys what has been built by Terraform
terraform graph - creates a DOT-formatted graph
terraform plan - a dry run to see what Terraform will do
...