open es egress ports on console machines, revert change to web fleet

parent da75b6bd
......@@ -517,7 +517,7 @@ variable "deploy_egress_ports" {
default = []
}
variable "web_egress_ports" {
variable "console_egress_ports" {
type = "list"
default = []
}
......@@ -513,7 +513,7 @@ variable "deploy_egress_ports" {
default = ["80", "443", "22"]
}
variable "web_egress_ports" {
variable "console_egress_ports" {
type = "list"
default = ["80", "443", "9243"]
}
......@@ -101,7 +101,7 @@ module "web" {
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-base-fe-web]\""
dns_zone_name = "${var.dns_zone_name}"
egress_ports = "${var.web_egress_ports}"
egress_ports = "${var.egress_ports}"
environment = "${var.environment}"
health_check = "tcp"
ip_cidr_range = "${var.subnetworks["web"]}"
......@@ -1448,7 +1448,7 @@ module "console" {
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-base-console-node]\""
dns_zone_name = "${var.dns_zone_name}"
egress_ports = "${var.egress_ports}"
egress_ports = "${var.console_egress_ports}"
environment = "${var.environment}"
health_check = "tcp"
ip_cidr_range = "${var.subnetworks["console"]}"
......
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