Files
Packer-Cn/website/pages/docs/from-1.5/path-variables.mdx
Adrien DelormeandMegan Marsh 125178d943 core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
* core: Decode when in HCL2 decoding mode; reset the whole struct before preparing it.
* HCL2: add path variables + docs & tests

Co-authored-by: Megan Marsh <[email protected]>
2020-07-23 09:25:07 +02:00

15 lines
364 B
Plaintext

---
layout: docs
page_title: Path Variables - HCL Configuration Language
sidebar_title: Path Variables
description: |-
Special variables provide directory information. This page covers all path
variables.
---
# Path variables
- `path.cwd`: the directory from where Packer was started.
- `path.root`: the directory of the input HCL file or the input folder.