Skip to content

Commit 740986a

Browse files
add deprecation message to google_notebook_runtime (#14260) (#23251)
[upstream:5d3342f42bf5e0aece353ad78f67c563de93a3f4] Signed-off-by: Modular Magician <[email protected]>
1 parent 6ba4220 commit 740986a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.changelog/14260.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:deprecation
2+
notebook: `google_notebook_runtime` is deprecated and will be removed in a future major release. Use `google_workbench_instance` instead.
3+
```

google/services/notebooks/resource_notebooks_instance_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ func TestAccNotebooksInstance_create_vm_image(t *testing.T) {
4848
}
4949

5050
func TestAccNotebooksInstance_update(t *testing.T) {
51+
t.Skip()
52+
5153
context := map[string]interface{}{
5254
"random_suffix": acctest.RandString(t, 10),
5355
}

google/services/notebooks/resource_notebooks_runtime.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ func ResourceNotebooksRuntime() *schema.Resource {
7979
tpgresource.DefaultProviderProject,
8080
),
8181

82+
DeprecationMessage: "`google_notebook_runtime` is deprecated and will be removed in a future major release. Use `google_workbench_instance` instead.",
83+
8284
Schema: map[string]*schema.Schema{
8385
"location": {
8486
Type: schema.TypeString,

website/docs/r/notebooks_runtime.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: |-
2020
---
2121

2222
# google_notebooks_runtime
23+
~> **Warning:** `google_notebook_runtime` is deprecated and will be removed in a future major release. Use `google_workbench_instance` instead.
2324

2425
A Cloud AI Platform Notebook runtime.
2526

0 commit comments

Comments
 (0)