Ignoring the case for NSG Protocol's in the state (#13153)
This commit is contained in:
parent
f1fba64926
commit
25da340543
|
@ -66,6 +66,7 @@ func resourceArmNetworkSecurityGroup() *schema.Resource {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
ValidateFunc: validateNetworkSecurityRuleProtocol,
|
ValidateFunc: validateNetworkSecurityRuleProtocol,
|
||||||
|
StateFunc: ignoreCaseStateFunc,
|
||||||
},
|
},
|
||||||
|
|
||||||
"source_port_range": {
|
"source_port_range": {
|
||||||
|
|
|
@ -204,7 +204,7 @@ resource "azurerm_network_security_group" "test" {
|
||||||
priority = 100
|
priority = 100
|
||||||
direction = "Inbound"
|
direction = "Inbound"
|
||||||
access = "Allow"
|
access = "Allow"
|
||||||
protocol = "Tcp"
|
protocol = "TCP"
|
||||||
source_port_range = "*"
|
source_port_range = "*"
|
||||||
destination_port_range = "*"
|
destination_port_range = "*"
|
||||||
source_address_prefix = "*"
|
source_address_prefix = "*"
|
||||||
|
|
Loading…
Reference in New Issue