» azurerm_data_lake_store_firewall_rule

Manage a Azure Data Lake Store Firewall Rule.

» Example Usage

resource "azurerm_resource_group" "test" {
  name     = "test"
  location = "northeurope"
}

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

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

» 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