...
 
Commits (2)
......@@ -492,6 +492,36 @@ module "thanos-compact" {
vpc = module.network.self_link
}
##################################
#
# Console
#
##################################
module "console" {
assign_public_ip = false
bootstrap_version = var.bootstrap_script_version
chef_provision = var.chef_provision
chef_run_list = "\"role[${var.environment}-base-console-node]\""
dns_zone_name = var.dns_zone_name
environment = var.environment
health_check = "tcp"
ip_cidr_range = var.subnetworks["console"]
machine_type = var.machine_types["console"]
name = "console"
node_count = var.node_count["console"]
project = var.project
public_ports = var.public_ports["console"]
region = var.region
service_account_email = var.service_account_email
service_port = 22
source = "git::ssh://git@ops.gitlab.net/gitlab-com/gl-infra/terraform-modules/google/generic-sv-with-group.git?ref=v3.0.0"
tier = "sv"
use_external_ip = false
use_new_node_name = true
vpc = module.network.self_link
}
#######################################################
#
# Tenable.IO local Nessus scanner
......
......@@ -48,6 +48,7 @@ variable "machine_types" {
default = {
"alerts" = "n1-standard-1"
"aptly" = "n1-standard-1"
"console" = "n1-standard-1"
"consul" = "n1-standard-1"
"log-proxy" = "n1-standard-1"
"proxy" = "n1-standard-1"
......@@ -118,6 +119,7 @@ variable "subnetworks" {
"consul" = "10.250.21.0/24"
"nonprod-proxy" = "10.250.22.0/24"
"prod-proxy" = "10.250.23.0/24"
"console" = "10.250.24.0/24"
}
}
......@@ -139,6 +141,7 @@ variable "public_ports" {
"nessus" = [8834]
"aptly" = [80, 443]
"consul" = []
"console" = []
}
}
......@@ -149,6 +152,7 @@ variable "node_count" {
"alerts" = 2
"bastion" = 1
"blackbox" = 1
"console" = 1
"consul" = 1
"dashboards" = 1
"gitlab-ops" = 1
......