generated from hashicorp/packer-plugin-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 51
/
instance.go
39 lines (37 loc) · 1.31 KB
/
instance.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package common
type InstanceConfig struct {
AcceleratorType string
AcceleratorCount int64
Address string
Description string
DisableDefaultServiceAccount bool
DiskName string
DiskSizeGb int64
DiskType string
DiskEncryptionKey *CustomerEncryptionKey
EnableNestedVirtualization bool
EnableSecureBoot bool
EnableVtpm bool
EnableIntegrityMonitoring bool
ExtraBlockDevices []BlockDevice
Image *Image
Labels map[string]string
MachineType string
Metadata map[string]string
MinCpuPlatform string
Name string
Network string
NetworkProjectId string
OmitExternalIP bool
OnHostMaintenance string
Preemptible bool
NodeAffinities []NodeAffinity
Region string
ServiceAccountEmail string
Scopes []string
Subnetwork string
Tags []string
Zone string
}