mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-29 18:20:05 -04:00
common: PackerConfig understands user vars
This commit is contained in:
parent
598f11f168
commit
bbced21c36
1 changed files with 5 additions and 3 deletions
|
|
@ -4,7 +4,9 @@ package common
|
|||
// are sent by packer, properly tagged already so mapstructure can load
|
||||
// them. Embed this structure into your configuration class to get it.
|
||||
type PackerConfig struct {
|
||||
PackerBuildName string `mapstructure:"packer_build_name"`
|
||||
PackerDebug bool `mapstructure:"packer_debug"`
|
||||
PackerForce bool `mapstructure:"packer_force"`
|
||||
PackerBuildName string `mapstructure:"packer_build_name"`
|
||||
PackerBuilderType string `mapstructure:"packer_builder_type"`
|
||||
PackerDebug bool `mapstructure:"packer_debug"`
|
||||
PackerForce bool `mapstructure:"packer_force"`
|
||||
PackerUserVars map[string]string `mapstructure:"packer_user_variables"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue