Skip to content

Commit

Permalink
azurerm_backup_protected_vm: Make source_vm_id case insensitive (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
myc2h6o authored Mar 4, 2022
1 parent 61b658c commit ee5a9c9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/recoveryservices/validate"
"github.com/hashicorp/terraform-provider-azurerm/internal/tags"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/suppress"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
Expand Down Expand Up @@ -55,6 +56,8 @@ func resourceRecoveryServicesBackupProtectedVM() *pluginsdk.Resource {
Required: true,
ForceNew: true,
ValidateFunc: azure.ValidateResourceID,
// TODO: make this case sensitive once the API's fixed https://github.com/Azure/azure-rest-api-specs/issues/10357
DiffSuppressFunc: suppress.CaseDifference,
},

"backup_policy_id": {
Expand Down

0 comments on commit ee5a9c9

Please sign in to comment.