From 0ef03672732cfb6c0774c6173ba71b868dfe945c Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 29 Nov 2017 15:51:00 -0800 Subject: [PATCH] give disk_autoresize a default (#806) --- google/resource_sql_database_instance.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/google/resource_sql_database_instance.go b/google/resource_sql_database_instance.go index cfaccc94c99..77ce7768ad8 100644 --- a/google/resource_sql_database_instance.go +++ b/google/resource_sql_database_instance.go @@ -121,9 +121,8 @@ func resourceSqlDatabaseInstance() *schema.Resource { "disk_autoresize": &schema.Schema{ Type: schema.TypeBool, Optional: true, + Default: true, DiffSuppressFunc: suppressFirstGen, - // Set computed instead of default because this property is for second-gen only. - Computed: true, }, "disk_size": &schema.Schema{ Type: schema.TypeInt,