parent
f1a14cf306
commit
980f02ce5d
|
@ -67,7 +67,7 @@ type Config struct {
|
|||
|
||||
RemoveVolume bool `mapstructure:"remove_volume"`
|
||||
|
||||
UserAgent string
|
||||
UserAgent string `mapstructure:"user_agent"`
|
||||
ctx interpolate.Context
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ type FlatConfig struct {
|
|||
Bootscript *string `mapstructure:"bootscript" required:"false" cty:"bootscript" hcl:"bootscript"`
|
||||
BootType *string `mapstructure:"boottype" required:"false" cty:"boottype" hcl:"boottype"`
|
||||
RemoveVolume *bool `mapstructure:"remove_volume" cty:"remove_volume" hcl:"remove_volume"`
|
||||
UserAgent *string `cty:"user_agent" hcl:"user_agent"`
|
||||
UserAgent *string `mapstructure:"user_agent" cty:"user_agent" hcl:"user_agent"`
|
||||
}
|
||||
|
||||
// FlatMapstructure returns a new FlatConfig.
|
||||
|
|
|
@ -16,3 +16,5 @@
|
|||
bootscript, Default bootscript
|
||||
|
||||
- `remove_volume` (bool) - Remove Volume
|
||||
|
||||
- `user_agent` (string) - User Agent
|
||||
|
|
Loading…
Reference in New Issue