Merge pull request #11309 from hashicorp/f-update-pathexpand-docs

documentation: Add warning for pathexpand interpolation function
This commit is contained in:
Jake Champlin 2017-01-20 12:05:55 -05:00 committed by GitHub
commit 1409aec035
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ The supported built-in functions are:
* `md5(string)` - Returns a (conventional) hexadecimal representation of the
MD5 hash of the given string.
* `pathexpand(string)` - Returns a filepath string with `~` expanded to the home directory.
* `pathexpand(string)` - Returns a filepath string with `~` expanded to the home directory. Note:
This will create a plan diff between two different hosts, unless the filepaths are the same.
* `replace(string, search, replace)` - Does a search and replace on the
given string. All instances of `search` are replaced with the value