From 8fde3ed9dce4ebd69f13444c5d4cec5d91003d66 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 25 Jun 2019 17:19:56 -0700 Subject: [PATCH] use default network for tpu full test (#893) Signed-off-by: Modular Magician --- google-beta/resource_tpu_node_generated_test.go | 7 +------ website/docs/r/tpu_node.html.markdown | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/google-beta/resource_tpu_node_generated_test.go b/google-beta/resource_tpu_node_generated_test.go index aafaa3358d9..fa9df3a6882 100644 --- a/google-beta/resource_tpu_node_generated_test.go +++ b/google-beta/resource_tpu_node_generated_test.go @@ -91,11 +91,6 @@ func TestAccTpuNode_tpuNodeFullExample(t *testing.T) { func testAccTpuNode_tpuNodeFullExample(context map[string]interface{}) string { return Nprintf(` -resource "google_compute_network" "tpu_network" { - name = "test-tpu-network-%{random_suffix}" - auto_create_subnetworks = false -} - data "google_tpu_tensorflow_versions" "available" { } resource "google_tpu_node" "tpu" { @@ -108,7 +103,7 @@ resource "google_tpu_node" "tpu" { tensorflow_version = "${data.google_tpu_tensorflow_versions.available.versions[0]}" description = "Terraform Google Provider test TPU" - network = "${google_compute_network.tpu_network.name}" + network = "default" labels = { foo = "bar" diff --git a/website/docs/r/tpu_node.html.markdown b/website/docs/r/tpu_node.html.markdown index 4f4942ef61a..7fc5fe74eee 100644 --- a/website/docs/r/tpu_node.html.markdown +++ b/website/docs/r/tpu_node.html.markdown @@ -59,11 +59,6 @@ resource "google_tpu_node" "tpu" { ```hcl -resource "google_compute_network" "tpu_network" { - name = "test-tpu-network" - auto_create_subnetworks = false -} - data "google_tpu_tensorflow_versions" "available" { } resource "google_tpu_node" "tpu" { @@ -76,7 +71,7 @@ resource "google_tpu_node" "tpu" { tensorflow_version = "${data.google_tpu_tensorflow_versions.available.versions[0]}" description = "Terraform Google Provider test TPU" - network = "${google_compute_network.tpu_network.name}" + network = "default" labels = { foo = "bar"