From 88e8419f8d8ac03601ca183fd49d8ad0fb684325 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 5 Jan 2024 02:52:05 +0100 Subject: [PATCH] Migrate state to b2 --- .gitignore | 2 ++ tf-stage-1/main.tf | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fa6f8ed..e02d453 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ terraform.rc .terraform.lock.hcl # End of https://www.toptal.com/developers/gitignore/api/terraform + +.envrc diff --git a/tf-stage-1/main.tf b/tf-stage-1/main.tf index 4fef3a4..fcd8009 100644 --- a/tf-stage-1/main.tf +++ b/tf-stage-1/main.tf @@ -1,14 +1,15 @@ terraform { backend "s3" { - bucket = "infra" + bucket = "terraform-0d6c29f308f4e7e6" key = "terraform/keycloak.tfstate" - endpoint = "https://s3.tobiasmanske.de" - force_path_style = true - region = "us-east-1" + endpoint = "https://s3.us-west-002.backblazeb2.com" + # force_path_style = true + region = "us-west-002" skip_credentials_validation = true skip_region_validation = true - skip_metadata_api_check = true + # skip_metadata_api_check = true skip_requesting_account_id = true + skip_s3_checksum = true } required_providers { keycloak = {