Commit 63bc6d4a authored by Victor Lopez's avatar Victor Lopez
Browse files

Revert "logsearch: remove ES security group rule"

This reverts commit 94d99e0a.
parent a5404969
......@@ -109,6 +109,20 @@ resource "azurerm_network_security_rule" "prometheus" {
network_security_group_name = "${azurerm_network_security_group.LogStorageProd.name}"
}
resource "azurerm_network_security_rule" "elasticsearch" {
name = "elasticsearch"
priority = 152
direction = "Inbound"
access = "Allow"
protocol = "TCP"
source_port_range = "*"
source_address_prefix = "10.60.0.8/32"
destination_port_range = "9200"
destination_address_prefix = "*"
resource_group_name = "${azurerm_resource_group.LogStorageProd.name}"
network_security_group_name = "${azurerm_network_security_group.LogStorageProd.name}"
}
resource "azurerm_subnet" "LogStorageProd" {
name = "LogStorageProd"
resource_group_name = "${var.vnet_resource_group}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment