Add consul module to pre environment
Closes https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6738
Showing
... | ... | @@ -214,6 +214,34 @@ module "bastion" { |
vpc = "${module.network.self_link}" | ||
} | ||
################################## | ||
# | ||
# Consul | ||
# | ||
################################## | ||
module "consul" { | ||
bootstrap_version = "${var.bootstrap_script_version}" | ||
chef_provision = "${var.chef_provision}" | ||
chef_run_list = "\"role[${var.environment}-infra-consul]\"" | ||
dns_zone_name = "${var.dns_zone_name}" | ||
environment = "${var.environment}" | ||
ip_cidr_range = "${var.subnetworks["consul"]}" | ||
kernel_version = "${var.default_kernel_version}" | ||
machine_type = "${var.machine_types["consul"]}" | ||
name = "consul" | ||
node_count = "${var.node_count["consul"]}" | ||
project = "${var.project}" | ||
public_ports = "${var.public_ports["consul"]}" | ||
region = "${var.region}" | ||
service_account_email = "${var.service_account_email}" | ||
service_port = 8300 | ||
source = "git::ssh://[email protected]/gitlab-com/gl-infra/terraform-modules/google/generic-sv-with-group.git?ref=v1.0.3" | ||
tier = "inf" | ||
use_new_node_name = true | ||
vpc = "${module.network.self_link}" | ||
} | ||
################################## | ||
# | ||
# Google storage buckets | ||
... | ... |
Please register or sign in to comment