Merge pull request #9823 from hashicorp/b-windows-shell-hcl-docs

provisioner/windows-shell: Add HCL2 example to documentation
pull/9825/head
Megan Marsh 6 years ago committed by GitHub
commit 0113aae27d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,9 @@ The windows-shell Packer provisioner runs commands on a Windows machine using
The example below is fully functional.
<Tabs>
<Tab heading="JSON">
```json
{
"type": "windows-shell",
@ -25,6 +28,18 @@ The example below is fully functional.
}
```
</Tab>
<Tab heading="HCL2">
```hcl
provisioner "windows-shell" {
inline = ["dir c:\\"]
}
```
</Tab>
</Tabs>
## Configuration Reference
@include 'provisioners/shell-config.mdx'

Loading…
Cancel
Save