Migrate state to b2

This commit is contained in:
Tobias Manske 2024-01-05 02:52:05 +01:00
parent 83784411ed
commit 88e8419f8d
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 8 additions and 5 deletions

2
.gitignore vendored
View File

@ -40,3 +40,5 @@ terraform.rc
.terraform.lock.hcl .terraform.lock.hcl
# End of https://www.toptal.com/developers/gitignore/api/terraform # End of https://www.toptal.com/developers/gitignore/api/terraform
.envrc

View File

@ -1,14 +1,15 @@
terraform { terraform {
backend "s3" { backend "s3" {
bucket = "infra" bucket = "terraform-0d6c29f308f4e7e6"
key = "terraform/keycloak.tfstate" key = "terraform/keycloak.tfstate"
endpoint = "https://s3.tobiasmanske.de" endpoint = "https://s3.us-west-002.backblazeb2.com"
force_path_style = true # force_path_style = true
region = "us-east-1" region = "us-west-002"
skip_credentials_validation = true skip_credentials_validation = true
skip_region_validation = true skip_region_validation = true
skip_metadata_api_check = true # skip_metadata_api_check = true
skip_requesting_account_id = true skip_requesting_account_id = true
skip_s3_checksum = true
} }
required_providers { required_providers {
keycloak = { keycloak = {