Skip to content

Commit

Permalink
azurerm_mssql_managed_instance : fix acc test failure for priority …
Browse files Browse the repository at this point in the history
…changed after apply (#20033)
  • Loading branch information
sinbai authored Feb 17, 2023
1 parent a9efe7e commit 06290b7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions internal/services/mssql/mssql_managed_instance_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ import (
type MsSqlManagedInstanceResource struct{}

const managedInstanceStaticRoutes = `
route {
name = "Microsoft.Sql-managedInstances_UseOnly_mi-OneDsCollector"
address_prefix = "OneDsCollector"
next_hop_type = "Internet"
}
route {
name = "mi-13-64-11-nexthop-internet"
address_prefix = "13.64.0.0/11"
Expand Down Expand Up @@ -1767,7 +1772,7 @@ resource "azurerm_network_security_rule" "deny_all_inbound_1" {
resource "azurerm_network_security_rule" "allow_management_outbound_1" {
name = "allow_management_outbound"
priority = 102
priority = 110
direction = "Outbound"
access = "Allow"
protocol = "Tcp"
Expand Down Expand Up @@ -2002,7 +2007,7 @@ resource "azurerm_network_security_rule" "deny_all_inbound_2" {
resource "azurerm_network_security_rule" "allow_management_outbound_2" {
name = "allow_management_outbound"
priority = 102
priority = 110
direction = "Outbound"
access = "Allow"
protocol = "Tcp"
Expand Down Expand Up @@ -2237,7 +2242,7 @@ resource "azurerm_network_security_rule" "deny_all_inbound_3" {
resource "azurerm_network_security_rule" "allow_management_outbound_3" {
name = "allow_management_outbound"
priority = 102
priority = 110
direction = "Outbound"
access = "Allow"
protocol = "Tcp"
Expand Down

0 comments on commit 06290b7

Please sign in to comment.