mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Fix es (#12845)
A node seemed to have died so I connected to investigate and you know the rest of this story. CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
69a4136057
commit
449a68cb33
@ -23,7 +23,7 @@ locals {
|
||||
{
|
||||
suffix = "-blue",
|
||||
ubuntu_version = "2004",
|
||||
size = 0,
|
||||
size = 5,
|
||||
init = "[]",
|
||||
type = "n2-highmem-2",
|
||||
xmx = "12g",
|
||||
@ -32,7 +32,7 @@ locals {
|
||||
{
|
||||
suffix = "-green",
|
||||
ubuntu_version = "2004",
|
||||
size = 5,
|
||||
size = 0,
|
||||
init = "[]",
|
||||
type = "n2-highmem-2",
|
||||
xmx = "12g",
|
||||
@ -283,7 +283,7 @@ resource "google_compute_instance_group_manager" "es" {
|
||||
instance_template = google_compute_instance_template.es[count.index].self_link
|
||||
}
|
||||
|
||||
dynamic named_port {
|
||||
dynamic "named_port" {
|
||||
for_each = local.es_ports
|
||||
content {
|
||||
name = named_port.value["name"]
|
||||
@ -323,7 +323,7 @@ resource "google_compute_backend_service" "es-http" {
|
||||
security_policy = google_compute_security_policy.es.self_link
|
||||
load_balancing_scheme = "EXTERNAL"
|
||||
|
||||
dynamic backend {
|
||||
dynamic "backend" {
|
||||
for_each = local.es_clusters
|
||||
content {
|
||||
group = google_compute_instance_group_manager.es[backend.key].instance_group
|
||||
|
@ -14,11 +14,11 @@ terraform {
|
||||
}
|
||||
google = {
|
||||
source = "hashicorp/google"
|
||||
version = "4.5.0"
|
||||
version = "4.7.0"
|
||||
}
|
||||
google-beta = {
|
||||
source = "hashicorp/google-beta"
|
||||
version = "4.5.0"
|
||||
version = "4.7.0"
|
||||
}
|
||||
template = {
|
||||
source = "hashicorp/template"
|
||||
|
Loading…
Reference in New Issue
Block a user