Hi All,

I was wondering if there was any way to have packer fail variable 
validation if an environment variable it is assigned to does not exist?  I 
recently figured out that explicitly setting the template value to null 
will set off the validation if the variable is not set, but the environment 
variable based ones do not seem to do the same thing.  What I am trying to 
prevent is a variable not getting set due to the fact an environment 
variable was forgotten about, which produces fairly significant effects 
downstream...  If not, are there any plans to make this configurable in the 
future?

Thanks in advance..

J




 

-- 
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/mitchellh/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/2941eead-360d-4ca9-aec1-83fcc12ff44e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to