From 077ae439d4d6a124c9a430943f8422d0f5a5c152 Mon Sep 17 00:00:00 2001 From: John Axel Eriksson Date: Wed, 21 Aug 2024 23:27:26 +0200 Subject: [PATCH] feat: move tofu state to gcs --- tofu/dev/main.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tofu/dev/main.tf b/tofu/dev/main.tf index d4d75e61..8f96cc98 100644 --- a/tofu/dev/main.tf +++ b/tofu/dev/main.tf @@ -17,8 +17,9 @@ terraform { } } - backend "local" { - path = "/home/john/Sync/world-tfstate/terraform.tfstate" + backend "gcs" { + prefix = "hcloud-dev" + bucket = "terraform-9000-248d" } }