Skip to content

Commit

Permalink
give disk_autoresize a default (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
danawillow authored Nov 29, 2017
1 parent 10819a1 commit 0ef0367
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions google/resource_sql_database_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0ef0367

Please sign in to comment.