provider/azurerm: Remove location argument from loadbalancer_backend_address_pool (#11963)

Applying a Terraform execution plan containing a loadbalancer_backend_address_pool
with a location argument throws a warning:

----
Warnings:

  * azurerm_lb_backend_address_pool.test: "location": [DEPRECATED] location is no longer used

  No errors found. Continuing with 1 warning(s).
----
This commit is contained in:
Laurens Vanderhoven 2017-02-15 14:50:19 +01:00 committed by Paul Stack
parent c455cccb68
commit d29f2d6f6d
1 changed files with 0 additions and 2 deletions

View File

@ -39,7 +39,6 @@ resource "azurerm_lb" "test" {
}
resource "azurerm_lb_backend_address_pool" "test" {
location = "West US"
resource_group_name = "${azurerm_resource_group.test.name}"
loadbalancer_id = "${azurerm_lb.test.id}"
name = "BackEndAddressPool"
@ -52,7 +51,6 @@ The following arguments are supported:
* `name` - (Required) Specifies the name of the Backend Address Pool.
* `resource_group_name` - (Required) The name of the resource group in which to create the resource.
* `location` - (Required) Specifies the supported Azure location where the resource exists.
* `loadbalancer_id` - (Required) The ID of the LoadBalancer in which to create the Backend Address Pool.
## Attributes Reference