azurerm_vpn_server_configuration_policy_group

Manages a VPN Server Configuration Policy Group.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_vpn_server_configuration" "example" {
  name                     = "example-VPNSC"
  resource_group_name      = azurerm_resource_group.example.name
  location                 = azurerm_resource_group.example.location
  vpn_authentication_types = ["Radius"]

  radius {
    server {
      address = "10.105.1.1"
      secret  = "vindicators-the-return-of-worldender"
      score   = 15
    }
  }
}

resource "azurerm_vpn_server_configuration_policy_group" "example" {
  name                        = "example-VPNSCPG"
  vpn_server_configuration_id = azurerm_vpn_server_configuration.example.id

  policy {
    name  = "policy1"
    type  = "RadiusAzureGroupId"
    value = "6ad1bd08"
  }
}

Argument Reference

The following arguments are supported:


A policy block supports the following:

Attributes Reference

In addition to the arguments above, the following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

VPN Server Configuration Policy Groups can be imported using the resource id, e.g.

terraform import azurerm_vpn_server_configuration_policy_group.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Network/vpnServerConfigurations/serverConfiguration1/configurationPolicyGroups/configurationPolicyGroup1