Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Terraform

Terraform scripts

Install terraform https://developer.hashicorp.com/terraform/downloads

extract files and copy location of terraform.exe open environment variables and paste in path

Terraform Commands

To Initialize

$ terraform init

To execute dry run

$ terraform plan

Execute code

$ terraform apply

Skip the approval

$ terraform apply -auto-approve

To destroy everything that is created

$ terraform destroy -auto-approve

Shows the info about the resources we deployed

$ terraform show

It will show the plan to destroy

$ terraform plan -destroy

you'll get help on the plan command

$ terraform -h plan

format your code

$ terraform fmt

show which providers are required by a configuration

$ terraform providers

show which version

$ terraform -version

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages