Skip to content

Commit

Permalink
r/signalr_service_network_acl: updating to use the native Resource ID…
Browse files Browse the repository at this point in the history
… validator function
  • Loading branch information
tombuildsstuff committed Nov 12, 2021
1 parent e90b825 commit 4e16e75
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/locks"
networkValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/signalr/sdk/2020-05-01/signalr"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/signalr/validate"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
Expand Down Expand Up @@ -37,7 +36,7 @@ func resourceArmSignalRServiceNetworkACL() *pluginsdk.Resource {
Type: pluginsdk.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validate.ServiceID,
ValidateFunc: signalr.ValidateSignalRID,
},

"default_action": {
Expand Down
21 changes: 0 additions & 21 deletions internal/services/signalr/validate/service_id.go

This file was deleted.

74 changes: 0 additions & 74 deletions internal/services/signalr/validate/service_id_test.go

This file was deleted.

0 comments on commit 4e16e75

Please sign in to comment.