Terraform

From wikieduonline
Jump to navigation Jump to search

wikipedia:Terraform (software) (2014) is an open-source infrastructure as code software.

Technical characteristics

  • HCL2 based
  • Types: strings, number, bool, list, maps, set, tuple, object, any and null (Terraform 0.12)


Supported platforms/providers

provider

Installation

  • Linux:
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get -qq update && sudo apt-get install terraform && terraform -v

Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli

Terraform commands

Common Terraform commands[1]

Activities

  1. Read Terraform blog: https://www.hashicorp.com/blog/category/terraform/
  2. Read Terraform: Up & Running, 2nd edition Early Release is now available! https://blog.gruntwork.io/terraform-up-running-2nd-edition-early-release-is-now-available-b104fc29783f
  3. Terraform: Hello_world.tf
  4. Terraform, read files

Related

See also

  • https://www.terraform.io/docs/commands/index.html
  • Advertising: