Skip to content

Commit

Permalink
Move Notebooks beta field from GA sample to beta test file (#5386) (#…
Browse files Browse the repository at this point in the history
…3799)

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 29, 2021
1 parent a7ac107 commit 435f294
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .changelog/5386.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
6 changes: 0 additions & 6 deletions google-beta/resource_notebooks_instance_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,6 @@ resource "google_notebooks_instance" "instance" {
metadata = {
terraform = "true"
}
nic_type = "VIRTIO_NET"
reservation_affinity {
consume_reservation_type = "NO_RESERVATION"
}
}
data "google_compute_network" "my_network" {
Expand Down
13 changes: 13 additions & 0 deletions google-beta/resource_notebooks_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ resource "google_notebooks_instance" "test" {
proxy-mode = "service_account"
terraform = "true"
}
nic_type = "VIRTIO_NET"
reservation_affinity {
consume_reservation_type = "NO_RESERVATION"
}
vm_image {
project = "deeplearning-platform-release"
image_family = "tf-latest-cpu"
Expand Down Expand Up @@ -109,6 +116,12 @@ resource "google_notebooks_instance" "instance" {
location = "us-central1-a"
machine_type = "e2-medium"
nic_type = "VIRTIO_NET"
reservation_affinity {
consume_reservation_type = "NO_RESERVATION"
}
vm_image {
project = "deeplearning-platform-release"
image_family = "tf-latest-cpu"
Expand Down
6 changes: 0 additions & 6 deletions website/docs/r/notebooks_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ resource "google_notebooks_instance" "instance" {
metadata = {
terraform = "true"
}
nic_type = "VIRTIO_NET"
reservation_affinity {
consume_reservation_type = "NO_RESERVATION"
}
}
data "google_compute_network" "my_network" {
Expand Down

0 comments on commit 435f294

Please sign in to comment.