From b16e60ce05e1e7a0ac2ceb2d241eb869e888b17d Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 29 Oct 2018 12:42:12 -0700 Subject: [PATCH] use correct fields for bigtable test (#2353) /cc @danawillow --- google/resource_bigtable_table_test.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/google/resource_bigtable_table_test.go b/google/resource_bigtable_table_test.go index 5fce5ac0..e3a68b0d 100644 --- a/google/resource_bigtable_table_test.go +++ b/google/resource_bigtable_table_test.go @@ -157,9 +157,11 @@ func testAccBigtableTable(instanceName, tableName string) string { return fmt.Sprintf(` resource "google_bigtable_instance" "instance" { name = "%s" - cluster_id = "%s" - zone = "us-central1-b" instance_type = "DEVELOPMENT" + cluster { + cluster_id = "%s" + zone = "us-central1-b" + } } resource "google_bigtable_table" "table" { @@ -173,9 +175,11 @@ func testAccBigtableTable_splitKeys(instanceName, tableName string) string { return fmt.Sprintf(` resource "google_bigtable_instance" "instance" { name = "%s" - cluster_id = "%s" - zone = "us-central1-b" instance_type = "DEVELOPMENT" + cluster { + cluster_id = "%s" + zone = "us-central1-b" + } } resource "google_bigtable_table" "table" {