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: content/terraform-docs-common/docs/cloud-docs/run/run-environment.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,7 @@ HCP Terraform automatically injects the following environment variables for each
124
124
|`TFC_CONFIGURATION_VERSION_GIT_COMMIT_SHA`| The full commit hash of the commit that the associated Terraform configuration version was ingressed from. |`abcd1234...`|
125
125
|`TFC_CONFIGURATION_VERSION_GIT_TAG`| The name of the tag that the associated Terraform configuration version was ingressed from. |`v0.1.0`|
126
126
|`TFC_PROJECT_NAME`| The name of the project used in this run. |`proj-name`|
127
+
|`TFC_PROJECT_ID`. | The id of the project used in this run. |`proj-91XJpbLvbdohC6RD`|
127
128
128
129
They are also available as Terraform input variables by defining a variable with the same name. For example:
0 commit comments