regenerate config spec
This commit is contained in:
parent
cae7e4ce79
commit
21eda7ced3
@ -97,10 +97,10 @@ type FlatConfig struct {
|
||||
WinRMInsecure *bool `mapstructure:"winrm_insecure" cty:"winrm_insecure" hcl:"winrm_insecure"`
|
||||
WinRMUseNTLM *bool `mapstructure:"winrm_use_ntlm" cty:"winrm_use_ntlm" hcl:"winrm_use_ntlm"`
|
||||
SkipNatMapping *bool `mapstructure:"skip_nat_mapping" required:"false" cty:"skip_nat_mapping" hcl:"skip_nat_mapping"`
|
||||
SSHKeyPath *string `mapstructure:"ssh_key_path" undocumented:"true" cty:"ssh_key_path" hcl:"ssh_key_path"`
|
||||
SSHSkipNatMapping *bool `mapstructure:"ssh_skip_nat_mapping" undocumented:"true" cty:"ssh_skip_nat_mapping" hcl:"ssh_skip_nat_mapping"`
|
||||
HostPortMin *int `mapstructure:"host_port_min" required:"false" undocumented:"true" cty:"host_port_min" hcl:"host_port_min"`
|
||||
HostPortMax *int `mapstructure:"host_port_max" required:"false" undocumented:"true" cty:"host_port_max" hcl:"host_port_max"`
|
||||
DeprecatedSSHKeyPath *string `mapstructure:"ssh_key_path" undocumented:"true" cty:"ssh_key_path" hcl:"ssh_key_path"`
|
||||
DeprecatedSSHSkipNatMapping *bool `mapstructure:"ssh_skip_nat_mapping" undocumented:"true" cty:"ssh_skip_nat_mapping" hcl:"ssh_skip_nat_mapping"`
|
||||
DeprecatedHostPortMin *int `mapstructure:"host_port_min" required:"false" undocumented:"true" cty:"host_port_min" hcl:"host_port_min"`
|
||||
DeprecatedHostPortMax *int `mapstructure:"host_port_max" required:"false" undocumented:"true" cty:"host_port_max" hcl:"host_port_max"`
|
||||
OutputDir *string `mapstructure:"output_directory" cty:"output_directory" hcl:"output_directory"`
|
||||
Format *string `mapstructure:"format" cty:"format" hcl:"format"`
|
||||
KeepVM *string `mapstructure:"keep_vm" cty:"keep_vm" hcl:"keep_vm"`
|
||||
@ -109,11 +109,13 @@ type FlatConfig struct {
|
||||
VCPUsMax *uint `mapstructure:"vcpus_max" cty:"vcpus_max" hcl:"vcpus_max"`
|
||||
VCPUsAtStartup *uint `mapstructure:"vcpus_atstartup" cty:"vcpus_atstartup" hcl:"vcpus_atstartup"`
|
||||
VMMemory *uint `mapstructure:"vm_memory" cty:"vm_memory" hcl:"vm_memory"`
|
||||
ISOUrl *string `mapstructure:"iso_url" required:"true" cty:"iso_url" hcl:"iso_url"`
|
||||
ISOChecksum *string `mapstructure:"iso_checksum" required:"true" cty:"iso_checksum" hcl:"iso_checksum"`
|
||||
ISOChecksumType *string `mapstructure:"iso_checksum_type" required:"true" cty:"iso_checksum_type" hcl:"iso_checksum_type"`
|
||||
RawSingleISOUrl *string `mapstructure:"iso_url" required:"true" cty:"iso_url" hcl:"iso_url"`
|
||||
ISOUrls []string `mapstructure:"iso_urls" cty:"iso_urls" hcl:"iso_urls"`
|
||||
TargetPath *string `mapstructure:"iso_target_path" cty:"iso_target_path" hcl:"iso_target_path"`
|
||||
TargetExtension *string `mapstructure:"iso_target_extension" cty:"iso_target_extension" hcl:"iso_target_extension"`
|
||||
ISOName *string `mapstructure:"iso_name" cty:"iso_name" hcl:"iso_name"`
|
||||
DeprecatedISOChecksumType *string `mapstructure:"iso_checksum_type" undocumented:"true" cty:"iso_checksum_type" hcl:"iso_checksum_type"`
|
||||
DiskSize *uint `mapstructure:"disk_size" cty:"disk_size" hcl:"disk_size"`
|
||||
AdditionalDisks []uint `mapstructure:"additional_disks" cty:"additional_disks" hcl:"additional_disks"`
|
||||
CloneTemplate *string `mapstructure:"clone_template" cty:"clone_template" hcl:"clone_template"`
|
||||
@ -232,11 +234,13 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
|
||||
"vcpus_max": &hcldec.AttrSpec{Name: "vcpus_max", Type: cty.Number, Required: false},
|
||||
"vcpus_atstartup": &hcldec.AttrSpec{Name: "vcpus_atstartup", Type: cty.Number, Required: false},
|
||||
"vm_memory": &hcldec.AttrSpec{Name: "vm_memory", Type: cty.Number, Required: false},
|
||||
"iso_url": &hcldec.AttrSpec{Name: "iso_url", Type: cty.String, Required: false},
|
||||
"iso_checksum": &hcldec.AttrSpec{Name: "iso_checksum", Type: cty.String, Required: false},
|
||||
"iso_checksum_type": &hcldec.AttrSpec{Name: "iso_checksum_type", Type: cty.String, Required: false},
|
||||
"iso_url": &hcldec.AttrSpec{Name: "iso_url", Type: cty.String, Required: false},
|
||||
"iso_urls": &hcldec.AttrSpec{Name: "iso_urls", Type: cty.List(cty.String), Required: false},
|
||||
"iso_target_path": &hcldec.AttrSpec{Name: "iso_target_path", Type: cty.String, Required: false},
|
||||
"iso_target_extension": &hcldec.AttrSpec{Name: "iso_target_extension", Type: cty.String, Required: false},
|
||||
"iso_name": &hcldec.AttrSpec{Name: "iso_name", Type: cty.String, Required: false},
|
||||
"iso_checksum_type": &hcldec.AttrSpec{Name: "iso_checksum_type", Type: cty.String, Required: false},
|
||||
"disk_size": &hcldec.AttrSpec{Name: "disk_size", Type: cty.Number, Required: false},
|
||||
"additional_disks": &hcldec.AttrSpec{Name: "additional_disks", Type: cty.List(cty.Number), Required: false},
|
||||
"clone_template": &hcldec.AttrSpec{Name: "clone_template", Type: cty.String, Required: false},
|
||||
|
@ -97,10 +97,10 @@ type FlatConfig struct {
|
||||
WinRMInsecure *bool `mapstructure:"winrm_insecure" cty:"winrm_insecure" hcl:"winrm_insecure"`
|
||||
WinRMUseNTLM *bool `mapstructure:"winrm_use_ntlm" cty:"winrm_use_ntlm" hcl:"winrm_use_ntlm"`
|
||||
SkipNatMapping *bool `mapstructure:"skip_nat_mapping" required:"false" cty:"skip_nat_mapping" hcl:"skip_nat_mapping"`
|
||||
SSHKeyPath *string `mapstructure:"ssh_key_path" undocumented:"true" cty:"ssh_key_path" hcl:"ssh_key_path"`
|
||||
SSHSkipNatMapping *bool `mapstructure:"ssh_skip_nat_mapping" undocumented:"true" cty:"ssh_skip_nat_mapping" hcl:"ssh_skip_nat_mapping"`
|
||||
HostPortMin *int `mapstructure:"host_port_min" required:"false" undocumented:"true" cty:"host_port_min" hcl:"host_port_min"`
|
||||
HostPortMax *int `mapstructure:"host_port_max" required:"false" undocumented:"true" cty:"host_port_max" hcl:"host_port_max"`
|
||||
DeprecatedSSHKeyPath *string `mapstructure:"ssh_key_path" undocumented:"true" cty:"ssh_key_path" hcl:"ssh_key_path"`
|
||||
DeprecatedSSHSkipNatMapping *bool `mapstructure:"ssh_skip_nat_mapping" undocumented:"true" cty:"ssh_skip_nat_mapping" hcl:"ssh_skip_nat_mapping"`
|
||||
DeprecatedHostPortMin *int `mapstructure:"host_port_min" required:"false" undocumented:"true" cty:"host_port_min" hcl:"host_port_min"`
|
||||
DeprecatedHostPortMax *int `mapstructure:"host_port_max" required:"false" undocumented:"true" cty:"host_port_max" hcl:"host_port_max"`
|
||||
OutputDir *string `mapstructure:"output_directory" cty:"output_directory" hcl:"output_directory"`
|
||||
Format *string `mapstructure:"format" cty:"format" hcl:"format"`
|
||||
KeepVM *string `mapstructure:"keep_vm" cty:"keep_vm" hcl:"keep_vm"`
|
||||
|
Loading…
Reference in New Issue
Block a user