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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This action determines the terraform and provider versions to use for a Terrafor
7
7
The best way to specify the version is using a [`required_version`](https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version) constraint.
8
8
9
9
The version to use is discovered from the first of:
10
-
1. The version set in the TFC/TFE workspace if the module uses a `remote` backend or `cloud` configuration, and the remote workspace exists.
10
+
1. The version set in the Terraform Cloud/Enterprise workspace if the module uses a `remote` backend or `cloud` configuration, and the remote workspace exists.
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
@@ -77,7 +77,7 @@ outputs yourself.
77
77
* `TERRAFORM_CLOUD_TOKENS`
78
78
79
79
API tokens for terraform cloud hosts, of the form `<host>=<token>`. Multiple tokens may be specified, one per line.
80
-
These tokens may be used for fetching required modules from the registry.
80
+
These tokens may be used for fetching required modules from the registry, and determining the terraform version set in the remote workspace.
0 commit comments