Difference between revisions of "Terraform version"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 87: Line 87:
 
* <code>[[versions.tf]]</code>
 
* <code>[[versions.tf]]</code>
 
* [[terragrunt version]]
 
* [[terragrunt version]]
 +
* [[Install Terraform]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:19, 20 December 2023

terraform version displays the current version of Terraform and all installed plugins. https://www.terraform.io/cli/commands/version

Example on path with valid Terraform code[edit]

terraform version
Terraform v1.2.9
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.31.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.2.0
+ provider registry.terraform.io/hashicorp/external v2.2.2
+ provider registry.terraform.io/hashicorp/kubernetes v1.13.4
+ provider registry.terraform.io/hashicorp/local v2.2.3
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/terraform-aws-modules/http v2.4.1

Examples[edit]

terraform version
Terraform v1.6.6
on linux_amd64
terraform version
Terraform v1.6.2
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.7.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.2
+ provider registry.terraform.io/hashicorp/kubernetes v2.21.1
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/hashicorp/time v0.9.1
+ provider registry.terraform.io/hashicorp/tls v4.0.4
Terraform v1.5.6
on linux_amd64
Terraform v1.4.2
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.59.0
+ provider registry.terraform.io/hashicorp/random v3.4.3
terraform version
Terraform v1.2.9
on linux_amd64
terraform version
Terraform v1.2.8
on darwin_arm64
terraform version
terraform 1.2.5
on darwin_arm64
terraform version
Terraform v1.1.5
on darwin_arm64
terraform version
Terraform v1.1.5
on linux_amd64


terraform version
Terraform v0.15.0-dev
on linux_amd64

Your version of Terraform is out of date! The latest version
is 0.15.1. You can update by downloading from https://www.terraform.io/downloads.html
terraform version
Terraform v0.13.1

Your version of Terraform is out of date! The latest version
is 1.2.9. You can update by downloading from https://www.terraform.io/downloads.html


terraform version
Terraform v0.11.14

Your version of Terraform is out of date! The latest version
is 0.14.8. You can update by downloading from www.terraform.io/downloads.html

Related terms[edit]

See also[edit]

Advertising: