Skip to content

Commit

Permalink
Ignoring the case for NSG Protocol's in the state (#13153)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff authored and stack72 committed Mar 29, 2017
1 parent f1fba64 commit 25da340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func resourceArmNetworkSecurityGroup() *schema.Resource {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateNetworkSecurityRuleProtocol,
StateFunc: ignoreCaseStateFunc,
},

"source_port_range": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ resource "azurerm_network_security_group" "test" {
priority = 100
direction = "Inbound"
access = "Allow"
protocol = "Tcp"
protocol = "TCP"
source_port_range = "*"
destination_port_range = "*"
source_address_prefix = "*"
Expand Down

0 comments on commit 25da340

Please sign in to comment.