From 98be390576c4cd68f7bf879bcae2695a3b0917ba Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 27 Dec 2021 17:23:59 +0300 Subject: fix(ops/keycloak): Move Terraform state to GleSYS bucket This should never sit around locally the way it does now. Change-Id: Icfbdaf1949d6d948a796a0759282ea6144af3621 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4709 Tested-by: BuildkiteCI Reviewed-by: grfn --- ops/keycloak/main.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ops/keycloak') diff --git a/ops/keycloak/main.tf b/ops/keycloak/main.tf index ec44507ec64b..f7dc0f27d132 100644 --- a/ops/keycloak/main.tf +++ b/ops/keycloak/main.tf @@ -8,6 +8,17 @@ terraform { source = "mrparkers/keycloak" } } + + backend "s3" { + endpoint = "https://objects.dc-sto1.glesys.net" + bucket = "tvl-state" + key = "terraform/tvl-keycloak" + region = "glesys" + + skip_credentials_validation = true + skip_region_validation = true + skip_metadata_api_check = true + } } provider "keycloak" { -- cgit 1.4.1