Skip to content

Commit

Permalink
suppress.CaseDifference
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Apr 29, 2021
1 parent d64af57 commit f0cc2de
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions azurerm/internal/services/compute/managed_disk_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,13 @@ func resourceManagedDisk() *schema.Resource {
string(compute.DenyAll),
}, false),
},

"disk_access_id": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: azure.ValidateResourceID,
Type: schema.TypeString,
Optional: true,
// TODO: make this case-sensitive once this bug in the Azure API has been fixed:
// https://github.com/Azure/azure-rest-api-specs/issues/14192
DiffSuppressFunc: suppress.CaseDifference,
ValidateFunc: azure.ValidateResourceID,
},

"tags": tags.Schema(),
Expand Down

0 comments on commit f0cc2de

Please sign in to comment.