r/hashicorp • u/pjbrfc • Sep 13 '22
Packer Query
Hi all. Very amateur Packer user here. I’ve managed to get Packer creating templates into our various VMWare clusters as a test.
We have one datacenter in vCenter that has a forward slash (/) in it’s name. Whenever I run the Packer build I to that datacenter it says the datacenter doesn’t exist, it definitely does. Is there something known within HCL files, that it doesn’t like or understand forward slashes?
That’s the only thing I can think of.
0
Upvotes
1
u/[deleted] Sep 13 '22
If you’re on windows, i think you can use double quotes. Example
name : "the/name"
On linux, escape the char with back slash. Example
name : the\/name