diff --git a/internal/services/network/network_manager_resource.go b/internal/services/network/network_manager_resource.go index 9521ebd74775..6d7e304fb3a0 100644 --- a/internal/services/network/network_manager_resource.go +++ b/internal/services/network/network_manager_resource.go @@ -109,6 +109,7 @@ func (r ManagerResource) Arguments() map[string]*pluginsdk.Schema { Type: pluginsdk.TypeString, ValidateFunc: validation.StringInSlice([]string{ string(networkmanagers.ConfigurationTypeConnectivity), + string(networkmanagers.ConfigurationTypeRouting), string(networkmanagers.ConfigurationTypeSecurityAdmin), }, false), }, diff --git a/internal/services/network/network_manager_resource_test.go b/internal/services/network/network_manager_resource_test.go index 82c90fe79d9b..e6e7e8e506a7 100644 --- a/internal/services/network/network_manager_resource_test.go +++ b/internal/services/network/network_manager_resource_test.go @@ -240,7 +240,7 @@ resource "azurerm_network_manager" "test" { scope { subscription_ids = [data.azurerm_subscription.current.id] } - scope_accesses = ["Connectivity", "SecurityAdmin"] + scope_accesses = ["Connectivity", "SecurityAdmin", "Routing"] description = "test network manager" tags = { foo = "bar" diff --git a/website/docs/r/network_manager.html.markdown b/website/docs/r/network_manager.html.markdown index 9a6764fe717a..d46f0a6ea970 100644 --- a/website/docs/r/network_manager.html.markdown +++ b/website/docs/r/network_manager.html.markdown @@ -49,7 +49,7 @@ The following arguments are supported: * `scope` - (Required) A `scope` block as defined below. -* `scope_accesses` - (Required) A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. +* `scope_accesses` - (Required) A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * `description` - (Optional) A description of the network manager.