Skip to content

Commit

Permalink
upgrade network sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbai committed Jan 19, 2023
1 parent 339172b commit a64a426
Show file tree
Hide file tree
Showing 278 changed files with 813 additions and 758 deletions.
2 changes: 1 addition & 1 deletion internal/services/compute/network_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/tombuildsstuff/kermit/sdk/compute/2022-08-01/compute"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

// nolint: deadcode unused
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/compute/2022-08-01/compute"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func dataSourceVirtualMachineScaleSet() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/azuresdkhacks/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"

"github.com/Azure/go-autorest/autorest"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func DeleteFirewall(ctx context.Context, client *network.AzureFirewallsClient, resourceGroupName string, azureFirewallName string) (result network.AzureFirewallsDeleteFuture, err error) {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package client

import (
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type Client struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceFirewallApplicationRuleCollection() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type FirewallApplicationRuleCollectionResource struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/firewall_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func firewallDataSource() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceFirewallNatRuleCollection() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type FirewallNatRuleCollectionResource struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceFirewallNetworkRuleCollection() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type FirewallNetworkRuleCollectionResource struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/location"
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance"
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type FirewallPolicyDataSource struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/firewall_policy_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

const AzureFirewallPolicyResourceName = "azurerm_firewall_policy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceFirewallPolicyRuleCollectionGroup() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/firewall_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

var AzureFirewallResourceName = "azurerm_firewall"
Expand Down
2 changes: 1 addition & 1 deletion internal/services/firewall/subresource.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package firewall

import (
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func flattenNetworkSubResourceID(input *[]network.SubResource) []interface{} {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/legacy/virtual_machine_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
"github.com/tombuildsstuff/kermit/sdk/compute/2022-08-01/compute"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
"golang.org/x/net/context"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

var _ types.TestResourceVerifyingRemoved = BackendAddressPoolAddressResourceTests{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func dataSourceArmLoadBalancerBackendAddressPool() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

var backendAddressPoolResourceName = "azurerm_lb_backend_address_pool"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerBackendAddressPool struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package client

import (
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/loadbalancer.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/schema"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

// TODO: refactor this
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/loadbalancer_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func dataSourceArmLoadBalancer() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerNatPool struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerNatRule struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerOutboundRule struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerProbe struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/loadbalancer_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancer() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type LoadBalancerRule struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/nat_pool_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancerNatPool() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/nat_rule_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancerNatRule() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/outbound_rule_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancerOutboundRule() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/probe_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancerProbe() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/loadbalancer/rule_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceArmLoadBalancerRule() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/logic/integration_service_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceIntegrationServiceEnvironment() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/network/application_gateway_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

// See https://github.com/Azure/azure-sdk-for-go/blob/master/services/network/mgmt/2018-04-01/network/models.go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse"
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type ApplicationGatewayResource struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceApplicationSecurityGroup() *pluginsdk.Resource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"

"github.com/Azure/go-autorest/autorest"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

// UpdateNetworkInterfaceAllowingRemovalOfNSG patches our way around a design flaw in the Azure
Expand Down
2 changes: 1 addition & 1 deletion internal/services/network/bastion_host_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation"
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func resourceBastionHost() *pluginsdk.Resource {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/network/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package client

import (
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/network/edge_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package network
import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones"
"github.com/hashicorp/terraform-provider-azurerm/utils"
"github.com/tombuildsstuff/kermit/sdk/network/2022-05-01/network"
"github.com/tombuildsstuff/kermit/sdk/network/2022-07-01/network"
)

func expandEdgeZone(input string) *network.ExtendedLocation {
Expand Down
Loading

0 comments on commit a64a426

Please sign in to comment.