Files
hurricane/terraform/backend.tf

31 lines
817 B
Terraform
Raw Normal View History

2026-03-05 21:35:59 +00:00
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
}
}