From ae2f60fa4ea2cf9783b4ace0280d467c80f0f8bc Mon Sep 17 00:00:00 2001 From: MattiasAng <31220729+MattiasAng@users.noreply.github.com> Date: Wed, 5 May 2021 01:13:31 +0200 Subject: [PATCH] `azurerm_network_security_rule` - support for protocol Ah and Esp (#11581) --- .../internal/services/network/network_security_rule_resource.go | 2 ++ website/docs/r/network_security_rule.html.markdown | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/azurerm/internal/services/network/network_security_rule_resource.go b/azurerm/internal/services/network/network_security_rule_resource.go index 6f96303b4f625..051898dc4babd 100644 --- a/azurerm/internal/services/network/network_security_rule_resource.go +++ b/azurerm/internal/services/network/network_security_rule_resource.go @@ -62,6 +62,8 @@ func resourceNetworkSecurityRule() *schema.Resource { string(network.SecurityRuleProtocolTCP), string(network.SecurityRuleProtocolUDP), string(network.SecurityRuleProtocolIcmp), + string(network.SecurityRuleProtocolAh), + string(network.SecurityRuleProtocolEsp), }, true), DiffSuppressFunc: suppress.CaseDifference, }, diff --git a/website/docs/r/network_security_rule.html.markdown b/website/docs/r/network_security_rule.html.markdown index 378a0f9e2259d..e0f9f9d61eb2e 100644 --- a/website/docs/r/network_security_rule.html.markdown +++ b/website/docs/r/network_security_rule.html.markdown @@ -56,7 +56,7 @@ The following arguments are supported: * `description` - (Optional) A description for this rule. Restricted to 140 characters. -* `protocol` - (Required) Network protocol this rule applies to. Possible values include `Tcp`, `Udp`, `Icmp`, or `*` (which matches all). +* `protocol` - (Required) Network protocol this rule applies to. Possible values include `Tcp`, `Udp`, `Icmp`, `Esp`, `Ah` or `*` (which matches all). * `source_port_range` - (Optional) Source Port or Range. Integer or range between `0` and `65535` or `*` to match any. This is required if `source_port_ranges` is not specified.