Difference between revisions of "Terraform"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
  
 
* Linux:
 
* Linux:
*<code>sudo [[apt-get update]] && sudo apt-get install -y [[gnupg]] [[software-properties-common]] [[curl]]</code>
+
**<code>sudo [[apt-get update]] && sudo apt-get install -y [[gnupg]] [[software-properties-common]] [[curl]]</code>
*<code>curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo [[apt-key add]] -</code>
+
**<code>curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo [[apt-key add]] -</code>
*<code>sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"</code>
+
**<code>sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"</code>
*<code>sudo [[apt-get -qq update]] && sudo [[apt-get install terraform]] && [[terraform -v]]</code>
+
**<code>sudo [[apt-get -qq update]] && sudo [[apt-get install terraform]] && [[terraform -v]]</code>
  
 
Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli
 
Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli

Revision as of 12:54, 20 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

provider

Installation

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: