You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform-version/README.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,13 @@ The version to use is discovered from the first of:
11
11
2. A [`required_version`](https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version)
12
12
constraint in the Terraform configuration. If the constraint is range, the latest matching version is used.
13
13
3. A [tfswitch](https://warrensbox.github.io/terraform-switcher/) `.tfswitchrc` file in the module path
14
-
4. A [tfenv](https://github.com/tfutils/tfenv) `.terraform-version` file in the module path
15
-
5. An [asdf](https://asdf-vm.com/) `.tool-versions` file in the module path or any parent path
16
-
6. An `OPENTOFU_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
17
-
7. A `TERRAFORM_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
18
-
8. The Terraform version that created the current state file (best effort).
19
-
9. The latest Terraform version
14
+
4. When using a `dflook/tofu-*` action, a [tofuenv](https://github.com/tofuutils/tofuenv) `.opentofu-version` file in the module path
15
+
5. A [tfenv](https://github.com/tfutils/tfenv) `.terraform-version` file in the module path
16
+
6. An [asdf](https://asdf-vm.com/) `.tool-versions` file in the module path or any parent path
17
+
7. An `OPENTOFU_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
18
+
8. A `TERRAFORM_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
19
+
9. The Terraform version that created the current state file (best effort).
20
+
10. The latest Terraform version
20
21
21
22
The version of Terraform and all required providers will be output to the workflow log.
Copy file name to clipboardExpand all lines: tofu-version/README.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,13 @@ The version to use is discovered from the first of:
11
11
2. A [`required_version`](https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version)
12
12
constraint in the OpenTofu configuration. If the constraint is range, the latest matching version is used.
13
13
3. A [tfswitch](https://warrensbox.github.io/terraform-switcher/) `.tfswitchrc` file in the module path
14
-
4. A [tfenv](https://github.com/tfutils/tfenv) `.terraform-version` file in the module path
15
-
5. An [asdf](https://asdf-vm.com/) `.tool-versions` file in the module path or any parent path
16
-
6. An `OPENTOFU_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
17
-
7. A `TERRAFORM_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
18
-
8. The OpenTofu version that created the current state file (best effort).
19
-
9. The latest OpenTofu version
14
+
4. When using a `dflook/tofu-*` action, a [tofuenv](https://github.com/tofuutils/tofuenv) `.opentofu-version` file in the module path
15
+
5. A [tfenv](https://github.com/tfutils/tfenv) `.terraform-version` file in the module path
16
+
6. An [asdf](https://asdf-vm.com/) `.tool-versions` file in the module path or any parent path
17
+
7. An `OPENTOFU_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
18
+
8. A `TERRAFORM_VERSION` environment variable containing a [version constraint](https://www.terraform.io/language/expressions/version-constraints). If the constraint allows multiple versions, the latest matching version is used.
19
+
9. The OpenTofu version that created the current state file (best effort).
20
+
10. The latest OpenTofu version
20
21
21
22
The version of OpenTofu and all required providers will be output to the workflow log.
0 commit comments