Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Remove resources reference quotes (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
bamaralf authored Jul 22, 2020
1 parent 44c63a1 commit 254bd96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module "vnet" {
}
resource "azurerm_network_security_group" "ssh" {
depends_on = ["module.vnet"]
depends_on = [module.vnet]
name = "ssh"
location = "westus"
resource_group_name = "${var.resource_group_name}"
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ data "azurerm_subnet" "import" {
resource_group_name = data.azurerm_resource_group.vnet.name
virtual_network_name = azurerm_virtual_network.vnet.name

depends_on = ["azurerm_subnet.subnet"]
depends_on = [azurerm_subnet.subnet]
}

resource "azurerm_subnet_network_security_group_association" "vnet" {
for_each = var.nsg_ids
subnet_id = data.azurerm_subnet.import[each.key].id
network_security_group_id = each.value

depends_on = ["data.azurerm_subnet.import"]
depends_on = [data.azurerm_subnet.import]
}

0 comments on commit 254bd96

Please sign in to comment.