Skip to content

Commit

Permalink
Merge pull request SUSE#40 from juadk/update_deprecated_function
Browse files Browse the repository at this point in the history
Update deprecated function
  • Loading branch information
ldevulder authored Feb 12, 2019
2 parents fa24052 + bfcfab2 commit 9882e19
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions azure/terraform/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ resource "azurerm_network_interface" "iscsisrv" {
}

resource "azurerm_public_ip" "iscsisrv" {
name = "iscsisrv-ip"
location = "${var.az_region}"
resource_group_name = "${azurerm_resource_group.myrg.name}"
public_ip_address_allocation = "Dynamic"
idle_timeout_in_minutes = 30
name = "iscsisrv-ip"
location = "${var.az_region}"
resource_group_name = "${azurerm_resource_group.myrg.name}"
allocation_method = "Dynamic"
idle_timeout_in_minutes = 30

tags {
workspace = "${terraform.workspace}"
Expand Down Expand Up @@ -246,12 +246,12 @@ resource "azurerm_network_interface_backend_address_pool_association" "clusterno
}

resource "azurerm_public_ip" "clusternodes" {
count = "${var.ninstances}"
name = "clusternodes-ip-${count.index}"
location = "${var.az_region}"
resource_group_name = "${azurerm_resource_group.myrg.name}"
public_ip_address_allocation = "Dynamic"
idle_timeout_in_minutes = 30
count = "${var.ninstances}"
name = "clusternodes-ip-${count.index}"
location = "${var.az_region}"
resource_group_name = "${azurerm_resource_group.myrg.name}"
allocation_method = "Dynamic"
idle_timeout_in_minutes = 30

tags {
workspace = "${terraform.workspace}"
Expand Down

0 comments on commit 9882e19

Please sign in to comment.