Skip to content

Commit

Permalink
enh: Update version to v6 in go files
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Jan 13, 2023
1 parent 88fe43e commit ff5eaa5
Show file tree
Hide file tree
Showing 74 changed files with 138 additions and 137 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/smutel/terraform-provider-netbox/v4
module github.com/smutel/terraform-provider-netbox/v6

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"

"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
"github.com/smutel/terraform-provider-netbox/v4/netbox"
"github.com/smutel/terraform-provider-netbox/v6/netbox"
)

// Run "go generate" to format example terraform files and generate the docs for the registry/website
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/data_netbox_dcim_platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxDcimPlatform() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/data_netbox_dcim_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxDcimSite() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package dcim_test

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/smutel/terraform-provider-netbox/v4/netbox"
"github.com/smutel/terraform-provider-netbox/v6/netbox"
)

var testAccProviders map[string]*schema.Provider
Expand Down
8 changes: 4 additions & 4 deletions netbox/dcim/resource_netbox_dcim_device_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxDcimDeviceRole() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/resource_netbox_dcim_device_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxDcimDeviceRole = "netbox_dcim_device_role.test"
Expand Down
8 changes: 4 additions & 4 deletions netbox/dcim/resource_netbox_dcim_manufacturer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxDcimManufacturer() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/resource_netbox_dcim_manufacturer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxDcimManufacturer = "netbox_dcim_manufacturer.test"
Expand Down
8 changes: 4 additions & 4 deletions netbox/dcim/resource_netbox_dcim_platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxDcimPlatform() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/resource_netbox_dcim_platform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxDcimPlatform = "netbox_dcim_platform.test"
Expand Down
8 changes: 4 additions & 4 deletions netbox/dcim/resource_netbox_dcim_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxDcimSite() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/resource_netbox_dcim_site_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxDcimSite = "netbox_dcim_site.test"
Expand Down
2 changes: 1 addition & 1 deletion netbox/extras/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package extras_test

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/smutel/terraform-provider-netbox/v4/netbox"
"github.com/smutel/terraform-provider-netbox/v6/netbox"
)

var testAccProviders map[string]*schema.Provider
Expand Down
4 changes: 2 additions & 2 deletions netbox/extras/resource_netbox_extras_custom_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/extras"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxExtrasCustomField() *schema.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldBoolean = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldDate = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldInteger = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldJSON = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldLongtext = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldMultiObject = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldMultiSelect = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldObject = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldSelect = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldText = "netbox_extras_custom_field.test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasCustomFieldURL = "netbox_extras_custom_field.test"
Expand Down
4 changes: 2 additions & 2 deletions netbox/extras/resource_netbox_extras_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/extras"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxExtrasTag() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/extras/resource_netbox_extras_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxExtrasTag = "netbox_extras_tag.test"
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamAggregate() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_ip_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamIPAddresses() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamRole() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamService() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_vlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamVlan() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/data_netbox_ipam_vlan_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func DataNetboxIpamVlanGroup() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package ipam_test

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/smutel/terraform-provider-netbox/v4/netbox"
"github.com/smutel/terraform-provider-netbox/v6/netbox"
)

var testAccProviders map[string]*schema.Provider
Expand Down
8 changes: 4 additions & 4 deletions netbox/ipam/resource_netbox_ipam_aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxIpamAggregate() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/resource_netbox_ipam_aggregate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxIpamAggregate = "netbox_ipam_aggregate.test"
Expand Down
8 changes: 4 additions & 4 deletions netbox/ipam/resource_netbox_ipam_asn.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
netboxclient "github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/ipam"
"github.com/smutel/go-netbox/v3/netbox/models"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/customfield"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/requestmodifier"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/tag"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

func ResourceNetboxIpamASN() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/resource_netbox_ipam_asn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/smutel/terraform-provider-netbox/v4/netbox/internal/util"
"github.com/smutel/terraform-provider-netbox/v6/netbox/internal/util"
)

const resourceNameNetboxIpamAsn = "netbox_ipam_asn.test"
Expand Down
Loading

0 comments on commit ff5eaa5

Please sign in to comment.