Skip to main content

Terraform: Write, Plan, and Create Infrastructure as Code

Terraform Logo

Build.Change.Destroy infrastructure with Terraform by HashiCorp.

Download Terraform.

Terraform CLI Documentation

Keep updating

Announcing HashiCorp Terraform 1.0 General Availability

Terraform on Google Cloud Shell

tuyendq@cloudshell:~ (practicehabits)$ which terraform
/usr/local/bin/terraform
tuyendq@cloudshell:~ (practicehabits)$ terraform -v
Terraform v0.12.2

Your version of Terraform is out of date! The latest version
is 0.12.6. You can update by downloading from www.terraform.io/downloads.html
tuyendq@cloudshell:~ (practicehabits)$

terraform init : download plugins
terraform fmt : format *.tf files
terraform validate : validate *.tf files
terraform apply
terraform apply -auto-approve : apply without prompting
terraform destroy
terraform destroy -auto-approve : destroy withoud prompting
terraform show

CLI Configuration File (.terraform or terraform.rc)

https://www.terraform.io/docs/commands/cli-config.html

Microsoft Windows: $env:APPDATA\terraform.rc

PS> cat $env:APPDATA\terraform.rc
plugin_cache_dir = "F:\\HashiCorp\\terraform\\.terraform.d\\plugin-cache"

Popular posts from this blog

Microsoft Windows Server 2012 R2 Standard Evaluation Product Key

Microsoft Windows Server 2012 R2 Standard Evaluation D2N9P-3P6X9-2R39C-7RTCD-MDVJX DBGBW-NPF86-BJVTX-K3WKJ-MTB6V

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'

hmailserver: Notes from the field

hmailserver is one of free open source mail servers running on Microsoft Windows operating system.