Skip to content

Commit a4f96b6

Browse files
Update images for notebooks instance tests (#14719) (#23922)
[upstream:7696e122cb52282a60efabeb8560af34ed0c4830] Signed-off-by: Modular Magician <[email protected]>
1 parent de8f5cf commit a4f96b6

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

google/services/notebooks/iam_notebooks_instance_generated_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ resource "google_notebooks_instance" "instance" {
132132
location = "us-west1-a"
133133
machine_type = "e2-medium"
134134
vm_image {
135-
project = "deeplearning-platform-release"
136-
image_family = "pytorch-latest-cu124"
135+
project = "cloud-notebooks-managed"
136+
image_family = "workbench-instances"
137137
}
138138
}
139139
@@ -154,8 +154,8 @@ resource "google_notebooks_instance" "instance" {
154154
location = "us-west1-a"
155155
machine_type = "e2-medium"
156156
vm_image {
157-
project = "deeplearning-platform-release"
158-
image_family = "pytorch-latest-cu124"
157+
project = "cloud-notebooks-managed"
158+
image_family = "workbench-instances"
159159
}
160160
}
161161
@@ -191,8 +191,8 @@ resource "google_notebooks_instance" "instance" {
191191
location = "us-west1-a"
192192
machine_type = "e2-medium"
193193
vm_image {
194-
project = "deeplearning-platform-release"
195-
image_family = "pytorch-latest-cu124"
194+
project = "cloud-notebooks-managed"
195+
image_family = "workbench-instances"
196196
}
197197
}
198198
@@ -215,8 +215,8 @@ resource "google_notebooks_instance" "instance" {
215215
location = "us-west1-a"
216216
machine_type = "e2-medium"
217217
vm_image {
218-
project = "deeplearning-platform-release"
219-
image_family = "pytorch-latest-cu124"
218+
project = "cloud-notebooks-managed"
219+
image_family = "workbench-instances"
220220
}
221221
}
222222
@@ -237,8 +237,8 @@ resource "google_notebooks_instance" "instance" {
237237
location = "us-west1-a"
238238
machine_type = "e2-medium"
239239
vm_image {
240-
project = "deeplearning-platform-release"
241-
image_family = "pytorch-latest-cu124"
240+
project = "cloud-notebooks-managed"
241+
image_family = "workbench-instances"
242242
}
243243
}
244244

google/services/notebooks/resource_notebooks_instance_generated_test.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -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

google/services/notebooks/resource_notebooks_instance_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ resource "google_notebooks_instance" "test" {
107107
}
108108
109109
vm_image {
110-
project = "deeplearning-platform-release"
111-
image_family = "pytorch-latest-cu124"
110+
project = "cloud-notebooks-managed"
111+
image_family = "workbench-instances"
112112
}
113113
}
114114
`, name)
@@ -122,8 +122,8 @@ resource "google_notebooks_instance" "instance" {
122122
machine_type = "e2-medium"
123123
124124
vm_image {
125-
project = "deeplearning-platform-release"
126-
image_family = "pytorch-latest-cu124"
125+
project = "cloud-notebooks-managed"
126+
image_family = "workbench-instances"
127127
}
128128
129129
metadata = {
@@ -148,8 +148,8 @@ resource "google_notebooks_instance" "instance" {
148148
machine_type = "e2-medium"
149149
150150
vm_image {
151-
project = "deeplearning-platform-release"
152-
image_family = "pytorch-latest-cu124"
151+
project = "cloud-notebooks-managed"
152+
image_family = "workbench-instances"
153153
}
154154
155155
metadata = {

website/docs/r/notebooks_instance.html.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ resource "google_notebooks_instance" "instance" {
5050
location = "us-west1-a"
5151
machine_type = "e2-medium"
5252
vm_image {
53-
project = "deeplearning-platform-release"
54-
image_family = "pytorch-latest-cu124"
53+
project = "cloud-notebooks-managed"
54+
image_family = "workbench-instances"
5555
}
5656
}
5757
```
@@ -69,8 +69,8 @@ resource "google_notebooks_instance" "instance" {
6969
location = "us-west1-a"
7070
machine_type = "e2-medium"
7171
vm_image {
72-
project = "deeplearning-platform-release"
73-
image_family = "pytorch-latest-cu124"
72+
project = "cloud-notebooks-managed"
73+
image_family = "workbench-instances"
7474
}
7575
desired_state = "STOPPED"
7676
}
@@ -118,8 +118,8 @@ resource "google_notebooks_instance" "instance" {
118118
core_count = 1
119119
}
120120
vm_image {
121-
project = "deeplearning-platform-release"
122-
image_family = "pytorch-latest-cu124"
121+
project = "cloud-notebooks-managed"
122+
image_family = "workbench-instances"
123123
}
124124
}
125125
```
@@ -133,16 +133,16 @@ resource "google_notebooks_instance" "instance" {
133133
machine_type = "e2-medium"
134134
135135
vm_image {
136-
project = "deeplearning-platform-release"
137-
image_family = "pytorch-latest-cu124"
136+
project = "cloud-notebooks-managed"
137+
image_family = "workbench-instances"
138138
}
139139
140140
instance_owners = [ "[email protected]"]
141141
service_account = "[email protected]"
142142
143143
install_gpu_driver = true
144144
boot_disk_type = "PD_SSD"
145-
boot_disk_size_gb = 110
145+
boot_disk_size_gb = 150
146146
147147
no_public_ip = true
148148
no_proxy_access = true

0 commit comments

Comments
 (0)