I am getting packer validation error for curly brackets when set 
in salt_call_args arguments value.

*"salt_call_args": "pillar="\\{'test_mode': True\\}"* for salt-masterless 
provisioner.

Error : Failed to parse template: Error parsing JSON: invalid character 
'\\' after object key:value pair

Also tried : *"salt_call_args": "pillar={'test_mode': True\\}"* 

Is there any example available for escaping the curly bracket characters {, 
}.  highly appreciate your response on this.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/9a9fed5a-73b9-4fc1-95a4-de7a03c71e36n%40googlegroups.com.

Reply via email to