|
@ -1,7 +1,7 @@ |
|
|
resource "linode_firewall_device" "site-firewall-vms" { |
|
|
resource "linode_firewall_device" "site-firewall-vms" { |
|
|
count = length(var.app_servers) |
|
|
count = length(var.app_servers) |
|
|
firewall_id = linode_firewall.site-firewall.id |
|
|
firewall_id = linode_firewall.site-firewall.id |
|
|
entity_id = "${element(linode_instance.site-vm.*.id, count.index)}" |
|
|
entity_id = element(linode_instance.site-vm.*.id, count.index) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
resource "linode_firewall" "site-firewall" { |
|
|
resource "linode_firewall" "site-firewall" { |
|
|