Skip to content

Commit

Permalink
revert migration
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxu92 committed Jun 30, 2023
1 parent 02972e8 commit a044ddb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 157 deletions.
6 changes: 0 additions & 6 deletions internal/services/firewall/firewall_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"
"github.com/hashicorp/terraform-provider-azurerm/internal/locks"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/azuresdkhacks"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/migration"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/validate"
networkValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate"
Expand Down Expand Up @@ -49,11 +48,6 @@ func resourceFirewall() *pluginsdk.Resource {
Delete: pluginsdk.DefaultTimeout(90 * time.Minute),
},

SchemaVersion: 1,
StateUpgraders: pluginsdk.StateUpgrades(map[int]pluginsdk.StateUpgrade{
0: migration.FirewallV0ToV1{},
}),

Schema: map[string]*pluginsdk.Schema{
"name": {
Type: pluginsdk.TypeString,
Expand Down
151 changes: 0 additions & 151 deletions internal/services/firewall/migration/firewall_v0_to_v1.go

This file was deleted.

0 comments on commit a044ddb

Please sign in to comment.