From 3e36ffccd29b5b2fcfb8b6ca007fdef81810762a Mon Sep 17 00:00:00 2001 From: Craig Box Date: Thu, 14 Sep 2023 13:15:52 +1200 Subject: [PATCH] Add new Slack URL --- infra/gcp/istio-io/run.tf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/infra/gcp/istio-io/run.tf b/infra/gcp/istio-io/run.tf index 92550659145..1d4402a4f75 100644 --- a/infra/gcp/istio-io/run.tf +++ b/infra/gcp/istio-io/run.tf @@ -1,6 +1,8 @@ # This hosts the Istio Slack invitation service. # See https://docs.google.com/document/d/1Pf6vS5SiYuSD55atbosoSHktIi1N08p-P480buzCrDk/ for more info -# The invite link needs to be updated every 400 invites. TODO: find a way to automate this? +# The invite link needs to be updated every 2000 uses with a new link generated by Slack support. +# (Links generated from the Slack UI only allow 400 invites.) +# TODO: improve this resource "google_cloud_run_v2_service" "redirector" { location = "us-central1" name = "redirector" @@ -16,7 +18,8 @@ resource "google_cloud_run_v2_service" "redirector" { image = "gcr.io/istio-testing/redirector" env { name = "REDIRECT_URL" - value = "https://join.slack.com/t/istio/shared_invite/zt-22l940p1h-HdIPYKoZy8JzOAqTCfuOnA" + # expires 2024-09-13 or after 2000 uses + value = "https://join.slack.com/t/istio/shared_invite/zt-23hxe505s-dqKi3O~~YzYA88Qw1ITzeA" } resources { cpu_idle = true