File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ resource "google_compute_image" "bootable-image" {
22
22
raw_disk {
23
23
source = "https://storage.googleapis.com/my-bucket/my-disk-image-tarball.tar.gz"
24
24
}
25
+
26
+ licenses = [
27
+ "https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx",
28
+ ]
25
29
}
26
30
27
31
resource "google_compute_instance" "vm" {
@@ -67,6 +71,9 @@ The following arguments are supported: (Note that one of either source_disk or
67
71
Changing this forces a new resource to be created. Structure is documented
68
72
below.
69
73
74
+ * ` licenses ` - (Optional) A list of license URIs to apply to this image. Changing this
75
+ forces a new resource to be created.
76
+
70
77
* ` create_timeout ` - (Deprecated) Configurable timeout in minutes for creating images. Default is 4 minutes.
71
78
72
79
The ` raw_disk ` block supports:
You can’t perform that action at this time.
0 commit comments