about summary refs log tree commit diff
path: root/ops/keycloak/main.tf
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-09-01T12·11+0300
committerclbot <clbot@tvl.fyi>2024-09-01T13·18+0000
commit23f97d0df00dc22b255caf12760e1d0aaa147f3f (patch)
tree55433ab786c265f7bc35fa184cdb77742fe9f076 /ops/keycloak/main.tf
parent53908b1b96a55fee24ec010d90009b315e611304 (diff)
fix(ops/keycloak): fix terraform state config r/8630
The same fix from cl/11021 also needs to be applied to other states.

Change-Id: I0df3ee2e8970e0d08a119ecc6347f24aef0448c2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12409
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/keycloak/main.tf')
-rw-r--r--ops/keycloak/main.tf12
1 files changed, 8 insertions, 4 deletions
diff --git a/ops/keycloak/main.tf b/ops/keycloak/main.tf
index 923ac1939712..a7726d7271b4 100644
--- a/ops/keycloak/main.tf
+++ b/ops/keycloak/main.tf
@@ -10,14 +10,18 @@ terraform {
   }
 
   backend "s3" {
-    endpoint = "https://objects.dc-sto1.glesys.net"
-    bucket   = "tvl-state"
-    key      = "terraform/tvl-keycloak"
-    region   = "glesys"
+    endpoints = {
+      s3 = "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
+    skip_requesting_account_id  = true
+    skip_s3_checksum            = true
   }
 }