Skip to content

Commit

Permalink
Deprecate use_server_default based on Azure/azure-rest-api-specs#97…
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed Oct 6, 2021
1 parent 7ec6428 commit ea77fe9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions internal/services/mssql/mssql_database_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,19 @@ func resourceMsSqlDatabase() *pluginsdk.Resource {
Optional: true,
ValidateFunc: validation.StringIsNotEmpty,
},

// TODO - 3.0: Remove this property
"use_server_default": {
Type: pluginsdk.TypeString,
Optional: true,
DiffSuppressFunc: suppress.CaseDifference,
Default: "Disabled",
ValidateFunc: validation.StringInSlice([]string{
"Disabled",
"Enabled",
}, true),
Deprecated: "This field is now non-functional and thus will be removed in version 3.0 of the Azure Provider",
},
},
},
},
Expand Down

0 comments on commit ea77fe9

Please sign in to comment.