terraform version

From wikieduonline
Revision as of 19:55, 22 September 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

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

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.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

See also

Advertising: