This commit is contained in:
2026-03-05 21:35:59 +00:00
parent f6608eee87
commit 3824bddbb5
73 changed files with 6971 additions and 0 deletions

31
terraform/backend.tf Normal file
View File

@@ -0,0 +1,31 @@
terraform {
# Your existing provider requirements...
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "5.18.0"
}
}
backend "s3" {
bucket = "ztariq"
key = "cloudflare/terraform.tfstate"
# TRICK THE AWS SDK: Use a standard AWS region here to bypass strict validation.
# The traffic will still go to Backblaze because of the endpoints block below.
region = "us-east-1"
endpoints = {
s3 = "https://s3.eu-central-003.backblazeb2.com"
}
# REQUIRED for non-AWS S3 backends in modern Terraform
use_path_style = true
skip_credentials_validation = true
skip_region_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
skip_s3_checksum = true
}
}