@@ -63,8 +63,8 @@ resource "google_notebooks_instance" "instance" {
63
63
location = "us-west1-a"
64
64
machine_type = "e2-medium"
65
65
vm_image {
66
- project = "deeplearning-platform-release "
67
- image_family = "pytorch-latest-cu124 "
66
+ project = "cloud-notebooks-managed "
67
+ image_family = "workbench-instances "
68
68
}
69
69
}
70
70
` , context )
@@ -90,7 +90,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicStoppedExample(t *testing.T)
90
90
ResourceName : "google_notebooks_instance.instance" ,
91
91
ImportState : true ,
92
92
ImportStateVerify : true ,
93
- ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "desired_state" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "vm_image" },
93
+ ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "desired_state" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "update_time" , " vm_image" },
94
94
},
95
95
},
96
96
})
@@ -103,8 +103,8 @@ resource "google_notebooks_instance" "instance" {
103
103
location = "us-west1-a"
104
104
machine_type = "e2-medium"
105
105
vm_image {
106
- project = "deeplearning-platform-release "
107
- image_family = "pytorch-latest-cu124 "
106
+ project = "cloud-notebooks-managed "
107
+ image_family = "workbench-instances "
108
108
}
109
109
desired_state = "STOPPED"
110
110
}
@@ -130,7 +130,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicContainerExample(t *testing.T
130
130
ResourceName : "google_notebooks_instance.instance" ,
131
131
ImportState : true ,
132
132
ImportStateVerify : true ,
133
- ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "vm_image" },
133
+ ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "update_time" , " vm_image" },
134
134
},
135
135
},
136
136
})
@@ -173,7 +173,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicGpuExample(t *testing.T) {
173
173
ResourceName : "google_notebooks_instance.instance" ,
174
174
ImportState : true ,
175
175
ImportStateVerify : true ,
176
- ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "vm_image" },
176
+ ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "update_time" , " vm_image" },
177
177
},
178
178
},
179
179
})
@@ -192,8 +192,8 @@ resource "google_notebooks_instance" "instance" {
192
192
core_count = 1
193
193
}
194
194
vm_image {
195
- project = "deeplearning-platform-release "
196
- image_family = "pytorch-latest-cu124 "
195
+ project = "cloud-notebooks-managed "
196
+ image_family = "workbench-instances "
197
197
}
198
198
}
199
199
` , context )
@@ -220,7 +220,7 @@ func TestAccNotebooksInstance_notebookInstanceFullExample(t *testing.T) {
220
220
ResourceName : "google_notebooks_instance.instance" ,
221
221
ImportState : true ,
222
222
ImportStateVerify : true ,
223
- ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "vm_image" },
223
+ ImportStateVerifyIgnore : []string {"boot_disk_size_gb" , "boot_disk_type" , "container_image" , "data_disk_size_gb" , "data_disk_type" , "instance_owners" , "labels" , "location" , "metadata" , "name" , "no_remove_data_disk" , "terraform_labels" , "update_time" , " vm_image" },
224
224
},
225
225
},
226
226
})
@@ -234,16 +234,16 @@ resource "google_notebooks_instance" "instance" {
234
234
machine_type = "e2-medium"
235
235
236
236
vm_image {
237
- project = "deeplearning-platform-release "
238
- image_family = "pytorch-latest-cu124 "
237
+ project = "cloud-notebooks-managed "
238
+ image_family = "workbench-instances "
239
239
}
240
240
241
241
instance_owners = [ "%{service_account}"]
242
242
service_account = "%{service_account}"
243
243
244
244
install_gpu_driver = true
245
245
boot_disk_type = "PD_SSD"
246
- boot_disk_size_gb = 110
246
+ boot_disk_size_gb = 150
247
247
248
248
no_public_ip = true
249
249
no_proxy_access = true
0 commit comments