WIP
This commit is contained in:
parent
dab689ce2e
commit
45695608b5
|
@ -245,7 +245,7 @@ type Config struct {
|
|||
// containing a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
AzureTag []hcl2template.KeyValues `mapstructure:"azure_tag" required:"false"`
|
||||
AzureTag hcl2template.KeyValues `mapstructure:"azure_tag" required:"false"`
|
||||
// Resource group under which the final artifact will be stored.
|
||||
ResourceGroupName string `mapstructure:"resource_group_name"`
|
||||
// Storage account under which the final artifact will be stored.
|
||||
|
|
|
@ -67,7 +67,7 @@ type Config struct {
|
|||
// containing a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
ImageTag []hcl2template.KeyValues `mapstructure:"image_tag" required:"false"`
|
||||
ImageTag hcl2template.KeyValues `mapstructure:"image_tag" required:"false"`
|
||||
// The service of the resulting image.
|
||||
ImageService string `mapstructure:"image_service" required:"false"`
|
||||
// ID or name of the type this server should be created with.
|
||||
|
@ -81,7 +81,7 @@ type Config struct {
|
|||
// a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
VmTag []hcl2template.KeyValues `mapstructure:"vm_tag" required:"false"`
|
||||
VmTag hcl2template.KeyValues `mapstructure:"vm_tag" required:"false"`
|
||||
// The name of the created disk.
|
||||
DiskName string `mapstructure:"disk_name" required:"false"`
|
||||
// The type of the created disk. Defaults to ssd.
|
||||
|
|
|
@ -88,7 +88,7 @@ type TencentCloudRunConfig struct {
|
|||
// containing a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
RunTag []hcl2template.KeyValues `mapstructure:"run_tag" required:"false"`
|
||||
RunTag hcl2template.KeyValues `mapstructure:"run_tag" required:"false"`
|
||||
|
||||
// Communicator settings
|
||||
Comm communicator.Config `mapstructure:",squash"`
|
||||
|
|
|
@ -59,7 +59,7 @@ type SourceMachineConfig struct {
|
|||
// singular block containing a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
MachineTag []hcl2template.KeyValues `mapstructure:"source_machine_tag" required:"false"`
|
||||
MachineTag hcl2template.KeyValues `mapstructure:"source_machine_tag" required:"false"`
|
||||
// Whether or not the firewall
|
||||
// of the VM used to create an image of is enabled. The Triton firewall only
|
||||
// filters inbound traffic to the VM. All outbound traffic is always allowed.
|
||||
|
|
|
@ -41,7 +41,7 @@ type TargetImageConfig struct {
|
|||
// containing a key and a value field. In HCL2 mode the
|
||||
// [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks)
|
||||
// will allow you to create those programatically.
|
||||
ImageTag []hcl2template.KeyValues `mapstructure:"image_tag" required:"false"`
|
||||
ImageTag hcl2template.KeyValues `mapstructure:"image_tag" required:"false"`
|
||||
}
|
||||
|
||||
// Prepare performs basic validation on a TargetImageConfig struct.
|
||||
|
|
Loading…
Reference in New Issue