fix: Add skip_requesting_account_id and use endpoints.s3 for Backblaze B2
This commit is contained in:
@@ -97,10 +97,11 @@ cd terraform
|
||||
|
||||
# Create backend config file (or use CLI args)
|
||||
cat > backend.hcl << EOF
|
||||
endpoint = "https://s3.eu-central-003.backblazeb2.com"
|
||||
bucket = "k8s-terraform-state"
|
||||
access_key = "your-backblaze-key-id"
|
||||
secret_key = "your-backblaze-application-key"
|
||||
endpoints.s3 = "https://s3.eu-central-003.backblazeb2.com"
|
||||
bucket = "k8s-terraform-state"
|
||||
access_key = "your-backblaze-key-id"
|
||||
secret_key = "your-backblaze-application-key"
|
||||
skip_requesting_account_id = true
|
||||
EOF
|
||||
|
||||
terraform init -backend-config=backend.hcl
|
||||
|
||||
Reference in New Issue
Block a user