Difference between revisions of "Terraform"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(113 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[wikipedia:Terraform (software)]] (July 2014) is an open-source [[infrastructure as code]] software.
+
[[wikipedia:Terraform (software)]] (July [[2014]]) is an open-source [[infrastructure as code]] software.
 
* [[Google trends]]: https://trends.google.com/trends/explore?date=all&q=Terraform
 
* [[Google trends]]: https://trends.google.com/trends/explore?date=all&q=Terraform
 
+
* Repo: https://github.com/hashicorp/terraform
 +
* [[Terraform Registry]] (Jan 2020) <ref>https://www.hashicorp.com/blog/announcing-providers-in-the-new-terraform-registry</ref>
 
* [[Terraform Cloud]] (September 2019)
 
* [[Terraform Cloud]] (September 2019)
 
* [[Terraform Enterprise]]
 
* [[Terraform Enterprise]]
* [[Terraform Registry]]
+
* [[Terraform Module Registry]] (2017) <ref>https://www.hashicorp.com/blog/hashicorp-terraform-module-registry</ref>
  
== Technical characteristics ==
 
* [[HCL]]2 based
 
* Types: strings, number, bool, list, maps, set, tuple, object, any and null ([[Terraform 0.12]])
 
  
 +
* [[Terraform Operators]]
 +
* [[Terraform Expressions]]
  
 +
== Technical characteristics ==
 +
* [[Hashicorp Configuration Language (HCL)]]2 based
 +
* [[Terraform types]]: <code>strings, number, bool, list, [[maps]], set, [[tuple]], object, any and null</code> ([[Terraform 0.12]])
  
 
== Supported platforms/providers ==
 
== Supported platforms/providers ==
 
* [[AWS]]: [[AWS EKS]], [[GCP]], [[IBM Cloud]], [[DigitalOcean]], [[Azure]]: [[Azure Stack]], [[AzureRM]], [[OpenStack]], [[ServiceNow]], [[F5 Networks]], [[Nutanix]], [[Tecent Cloud]], [[Helm]], [[Oracle OCI]], [[Brightbox]], [[RightScale]], [[Linode]], [[SkyTap]], [[UCloud]], [[Hedvig]], [[Zabbix]], [[Rollbar]]
 
* [[AWS]]: [[AWS EKS]], [[GCP]], [[IBM Cloud]], [[DigitalOcean]], [[Azure]]: [[Azure Stack]], [[AzureRM]], [[OpenStack]], [[ServiceNow]], [[F5 Networks]], [[Nutanix]], [[Tecent Cloud]], [[Helm]], [[Oracle OCI]], [[Brightbox]], [[RightScale]], [[Linode]], [[SkyTap]], [[UCloud]], [[Hedvig]], [[Zabbix]], [[Rollbar]]
  
<code>[[provider]]</code>
+
* <code>[[terraform providers]]</code>
  
== Installation ==
+
== [[Terraform installation]] ==
* [[macOS]]: <code>[[brew install]] terraform</code>.
 
* [[Ubuntu]]: <code>[[snap install terraform]]</code> or <code>[[snap install]] terraform-snap</code>
 
  
* Linux:
+
== [[Terraform commands]] ==
**<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>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>
 
  
Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli
+
== [[Terraform changelog|News]] ==
 +
* Jan 2023 [[Terraform Dynamic Provider Credentials]]
 +
* Aug 2022 [[CDK for Terraform (CDKTF)]]
 +
* Dec 2017 [[Terraform Enterprise (TFE)]] [[GA]]
  
== Terraform commands ==
+
== [[Terraform activities|Activities]] ==
* <code>[[terraform init]]</code>
+
* [[Create you first AWS instances with Terraform tutorial]]: https://learn.hashicorp.com/tutorials/terraform/aws-build?in=terraform/aws-get-started
* <code>[[terraform import]]</code>
+
* Read Terraform [[blog]]: https://www.hashicorp.com/blog/category/terraform/
* <code>[[terraform plan]]</code>
+
* Read https://www.terraformupandrunning.com/ book
* <code> [[terraform apply]]</code>
+
* Read [[Stackoverflow]] questions: https://stackoverflow.com/questions/tagged/terraform?tab=Votes
* <code> [[terraform remote config]]</code>
 
* <code>[[terraform destroy]]</code>
 
* <code>[[terraform fmt]]</code>
 
** <code>[[terraform fmt]] -check</code>
 
* <code>[[terraform show]]</code>
 
* <code>[[terraform validate]]</code>
 
* <code>[[terraform login]]</code>
 
* <code>[[terraform add]]</code> (1.1.0, xx/2021)
 
* <code>[[terraform console]]</code>
 
* <code>[[terraform graph]]</code>
 
 
 
== Common Terraform commands<ref>https://www.terraform.io/docs/commands/index.html</ref> ==
 
 
 
* <code>[[terraform --help]]</code>
 
 
 
== Activities ==
 
* Create you first AWS instances with Terraform tutorial: https://learn.hashicorp.com/tutorials/terraform/aws-build?in=terraform/aws-get-started
 
* Read Terraform blog: https://www.hashicorp.com/blog/category/terraform/
 
* Read https://stackoverflow.com/questions/tagged/terraform?tab=Votes
 
 
* 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
 
* 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
* [[Terraform: Hello_world.tf]]
+
* Review some [[Terraform examples]]
* [[Terraform, read files]]
+
* Use <code>[[terraform apply -replace]]</code> to recreate a resource
  
== Related ==
+
== Related terms ==
* [[HCL]], [[HCL]]2
+
* [[HCL]], [[HCL]]2 and [[HashiCorp Interpolation Language (HIL)]]
* <code>terraform_remote_state</code>
+
* [[Terraform: Meta-Argument]]s: <code>[[count]]</code> parameter for [[iterations]], <code>[[Terraform: depends on|depends_on]]</code>
* <code>count</code> parameter for iterations
+
* [[Terraform conditional expressions]]
* [[Remote state backends to manage Terraform state]]
+
* [[Terraform functions]]: <code>[[Terraform functions: templatefile|templatefile]]</code>, <code>[[join]]</code>, <code>[[output]]</code>, [[Splat expression]]
* [[Terragrunt]]
+
* [[Terraform data sources]], [[Terraform providers]], [[Terraform modules]], [[Terraform resources]], [[Terraform backends]]
 +
* [[Terragrunt]], [[Terraformer]], [[terratest]]
 
* Releases: https://github.com/hashicorp/terraform/releases
 
* Releases: https://github.com/hashicorp/terraform/releases
* [[Terraform libvirt provider]]
+
 
* [[Heredocs]]
+
* <code>[[artifacts:]]reports:terraform</code>
* [[artifacts:]]reports:terraform
 
 
* [[Terraform Cloud Operator]]
 
* [[Terraform Cloud Operator]]
* <code>[[resource]]</code>: https://www.terraform.io/docs/language/resources/index.html
+
* [[Terraform examples]]: [[Terraform: Hello world.tf]]
* [[Amazon Aurora]]
+
* [[Terraform Associate]]: Understand [[secret management]] in [[state files]]
 +
* [[Terraform deprecated commands]]
 +
* [[Terraform CLI Configuration File]]
 +
* [[Terraform VCS connections]]
 +
* [[Terraform best practices]]
 +
* [[Oracle Cloud Resource Manager]]
 +
* [[Terraform AWS]] (<code>[[hashicorp/aws]]</code>), [[Terraform GCP]]
 +
* <code>[[tflint]], [[tfsec]]</code>
 +
* <code>[[tfswitch]]</code>
 +
* [[Atlantis]] [[pull request]] automation
 +
* [[AWS Service Catalog]]
 +
* [[OpenTofu]]
 +
* <code>[[.this]]</code>
 +
* [[Crossplane.io]]
 +
* [[Terrakube.org]]
  
 
== See also ==
 
== See also ==
 
* {{terraform cmd}}
 
* {{terraform cmd}}
 
* {{terraform}}
 
* {{terraform}}
* {{IaC}}
 
* {{Cloud}}
 
  
 
[[Category:Infrastructure as Code]]
 
[[Category:Infrastructure as Code]]
 
[[Category:IaC]]
 
[[Category:IaC]]
 
[[Category:Cloud computing]]
 
[[Category:Cloud computing]]

Latest revision as of 13:29, 26 August 2024

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


Technical characteristics[edit]

Supported platforms/providers[edit]

Terraform installation[edit]

Terraform commands[edit]

News[edit]

Activities[edit]

Related terms[edit]

See also[edit]

  • https://www.hashicorp.com/blog/announcing-providers-in-the-new-terraform-registry
  • https://www.hashicorp.com/blog/hashicorp-terraform-module-registry
  • Advertising: