mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Update references.mdx
This commit is contained in:
parent
d7377ca141
commit
81b50892ed
@ -127,11 +127,12 @@ The following values are available:
|
||||
the data in `path.module` during each call. This can lead to race conditions and
|
||||
unexpected results.
|
||||
- `path.root` is the filesystem path of the root module of the configuration.
|
||||
* `path.cwd` is the filesystem path of the current working directory. This is
|
||||
an absolute path which includes details about the filesystem structure,
|
||||
and is useful in some advanced cases where Terraform is run from a directory
|
||||
other than the root module directory. We recommend using `path.root` or
|
||||
`path.module` over `path.cwd` where possible.
|
||||
- `path.cwd` is the filesystem path of the original working directory from where you
|
||||
ran Terraform before applying any `-chdir` argument. This path is an absolute path
|
||||
that includes details about the filesystem structure. It is also useful in some
|
||||
advanced cases where Terraform is run from a directory other than the root module
|
||||
directory. We recommend using `path.root` or `path.module` over `path.cwd` where
|
||||
possible.
|
||||
- `terraform.workspace` is the name of the currently selected
|
||||
[workspace](/language/state/workspaces).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user