From 90ad4d7abc921eef592c619ea1737272f5572e70 Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 12 Dec 2018 09:32:54 -0800 Subject: [PATCH] mark region as computed in sql db instance since we use getregion (#1030) Merged PR #1030. --- .../terraform/resources/resource_sql_database_instance.go.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/terraform/resources/resource_sql_database_instance.go.erb b/third_party/terraform/resources/resource_sql_database_instance.go.erb index 203a6a67065a..bf6fc25b033b 100644 --- a/third_party/terraform/resources/resource_sql_database_instance.go.erb +++ b/third_party/terraform/resources/resource_sql_database_instance.go.erb @@ -61,6 +61,7 @@ func resourceSqlDatabaseInstance() *schema.Resource { "region": &schema.Schema{ Type: schema.TypeString, Optional: true, + Computed: true, ForceNew: true, },