Update abspath.mdx
This commit is contained in:
parent
cf6eca7e1c
commit
eeabae88e3
|
@ -11,11 +11,12 @@ description: The abspath function converts the argument to an absolute filesyste
|
||||||
to an absolute path. That is, if the path is not absolute, it will be joined
|
to an absolute path. That is, if the path is not absolute, it will be joined
|
||||||
with the current working directory.
|
with the current working directory.
|
||||||
|
|
||||||
Referring directly to filesystem paths in resource arguments may cause
|
Referring directly to filesystem paths in resource arguments may cause spurious
|
||||||
spurious diffs if the same configuration is applied from multiple systems or on
|
diffs if the same configuration is applied from multiple systems or on
|
||||||
different host operating systems. We recommend using filesystem paths only
|
different host operating systems. We recommend using filesystem paths only for
|
||||||
for transient values, such as the argument to [`file`](/docs/from-1.5/functions/file) (where
|
transient values, such as the argument to
|
||||||
only the contents are then stored) or in `connection` and `provisioner` blocks.
|
[`file`](/docs/from-1.5/functions/file) (where only the contents are then
|
||||||
|
stored).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue