Difference between revisions of "Terraform"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
  sudo apt-get update && sudo apt-get install -y [[gnupg]] [[software-properties-common]] [[curl]]
 
  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]] -
 
  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"
  
 
== Terraform commands ==
 
== Terraform commands ==

Revision as of 15:48, 11 August 2021

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

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"

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: