@@ -63,8 +63,8 @@ resource "google_notebooks_instance" "instance" {
6363 location = "us-west1-a"
6464 machine_type = "e2-medium"
6565 vm_image {
66- project = "deeplearning-platform-release "
67- image_family = "pytorch-latest-cu124 "
66+ project = "cloud-notebooks-managed "
67+ image_family = "workbench-instances "
6868 }
6969}
7070` , context )
@@ -90,7 +90,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicStoppedExample(t *testing.T)
9090 ResourceName : "google_notebooks_instance.instance" ,
9191 ImportState : true ,
9292 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" },
9494 },
9595 },
9696 })
@@ -103,8 +103,8 @@ resource "google_notebooks_instance" "instance" {
103103 location = "us-west1-a"
104104 machine_type = "e2-medium"
105105 vm_image {
106- project = "deeplearning-platform-release "
107- image_family = "pytorch-latest-cu124 "
106+ project = "cloud-notebooks-managed "
107+ image_family = "workbench-instances "
108108 }
109109 desired_state = "STOPPED"
110110}
@@ -130,7 +130,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicContainerExample(t *testing.T
130130 ResourceName : "google_notebooks_instance.instance" ,
131131 ImportState : true ,
132132 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" },
134134 },
135135 },
136136 })
@@ -173,7 +173,7 @@ func TestAccNotebooksInstance_notebookInstanceBasicGpuExample(t *testing.T) {
173173 ResourceName : "google_notebooks_instance.instance" ,
174174 ImportState : true ,
175175 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" },
177177 },
178178 },
179179 })
@@ -192,8 +192,8 @@ resource "google_notebooks_instance" "instance" {
192192 core_count = 1
193193 }
194194 vm_image {
195- project = "deeplearning-platform-release "
196- image_family = "pytorch-latest-cu124 "
195+ project = "cloud-notebooks-managed "
196+ image_family = "workbench-instances "
197197 }
198198}
199199` , context )
@@ -220,7 +220,7 @@ func TestAccNotebooksInstance_notebookInstanceFullExample(t *testing.T) {
220220 ResourceName : "google_notebooks_instance.instance" ,
221221 ImportState : true ,
222222 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" },
224224 },
225225 },
226226 })
@@ -234,16 +234,16 @@ resource "google_notebooks_instance" "instance" {
234234 machine_type = "e2-medium"
235235
236236 vm_image {
237- project = "deeplearning-platform-release "
238- image_family = "pytorch-latest-cu124 "
237+ project = "cloud-notebooks-managed "
238+ image_family = "workbench-instances "
239239 }
240240
241241 instance_owners = [ "%{service_account}"]
242242 service_account = "%{service_account}"
243243
244244 install_gpu_driver = true
245245 boot_disk_type = "PD_SSD"
246- boot_disk_size_gb = 110
246+ boot_disk_size_gb = 150
247247
248248 no_public_ip = true
249249 no_proxy_access = true
0 commit comments