Difference between revisions of "Terraform version"
Jump to navigation
Jump to search
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | <code>terraform version</code> displays the current version of Terraform and all installed [[plugins]]. | ||
+ | https://www.terraform.io/cli/commands/version | ||
+ | |||
+ | == Example on path with valid Terraform code == | ||
+ | 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 == | ||
+ | |||
+ | 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 version | ||
+ | [[Terraform v1.2.9]] | ||
+ | on linux_amd64 | ||
+ | |||
+ | [[terraform]] version | ||
Terraform v1.2.8 | Terraform v1.2.8 | ||
on darwin_arm64 | on darwin_arm64 | ||
+ | |||
+ | terraform version | ||
+ | terraform 1.2.5 | ||
+ | on [[darwin_arm64]] | ||
terraform version | terraform version | ||
[[Terraform v1.1.5]] | [[Terraform v1.1.5]] | ||
on darwin_arm64 | on darwin_arm64 | ||
+ | |||
+ | terraform version | ||
+ | [[Terraform v1.1.5]] | ||
+ | on [[linux_amd64]] | ||
+ | |||
Line 15: | Line 69: | ||
is 0.15.1. You can [[update]] by downloading from https://www.terraform.io/downloads.html | 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 | ||
Line 24: | Line 81: | ||
Your version of Terraform is out of date! The latest version | 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 | is 0.14.8. You can update by downloading from www.terraform.io/downloads.html | ||
− | |||
== Related terms == | == Related terms == | ||
* [[Terraform Changelog]] | * [[Terraform Changelog]] | ||
− | + | * [[Error: Unsupported Terraform Core version]] | |
+ | * <code>[[versions.tf]]</code> | ||
+ | * [[terragrunt version]] | ||
+ | * [[Install Terraform]] | ||
== See also == | == See also == | ||
* {{terraform cmd}} | * {{terraform cmd}} | ||
− | * {{ | + | * {{terraform version}} |
[[Category:Terraform]] | [[Category:Terraform]] |
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]
- Terraform Changelog
- Error: Unsupported Terraform Core version
versions.tf
- terragrunt version
- Install Terraform
See also[edit]
terraform
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]terraform version
, Terraform changelog
Advertising: