» azurerm_data_lake_store_firewall_rule

Manages a Azure Data Lake Store Firewall Rule.

» Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "northeurope"

resource "azurerm_data_lake_store" "example" {
  name                = "consumptiondatalake"
  resource_group_name = "${azurerm_resource_group.example.name}"
  location            = "${azurerm_resource_group.example.location}"

resource "azurerm_data_lake_store_firewall_rule" "example" {
  name                = "office-ip-range"
  account_name        = "${azurerm_data_lake_store.example.name}"
  resource_group_name = "${azurerm_resource_group.example.name}"
  start_ip_address    = ""
  end_ip_address      = ""

» Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.

  • resource_group_name - (Required) The name of the resource group in which to create the Data Lake Store.

  • account_name - (Required) Specifies the name of the Data Lake Store for which the Firewall Rule should take effect.

  • start_ip_address - (Required) The Start IP address for the firewall rule.

  • end_ip_address - (Required) The End IP Address for the firewall rule.

» Attributes Reference

The following attributes are exported:

  • id - The Date Lake Store Firewall Rule ID.

» Import

Date Lake Store Firewall Rules can be imported using the resource id, e.g.

terraform import azurerm_data_lake_store_firewall_rule.rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DataLakeStore/accounts/mydatalakeaccount/firewallRules/rule1