feat: configure CloudFlare buckets

This commit is contained in:
Peter 2024-03-26 19:29:24 +01:00
parent 9bd3f45172
commit 5124e35f05
Signed by: prskr
GPG key ID: F56BED6903BC5E37

65
infrastructure/buckets.tf Normal file
View file

@ -0,0 +1,65 @@
resource "cloudflare_r2_bucket" "backup" {
account_id = var.cloudflare_account_id
name = "backup"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "csi" {
account_id = var.cloudflare_account_id
name = "csi"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "fider" {
account_id = var.cloudflare_account_id
name = "fider"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "gitea" {
account_id = var.cloudflare_account_id
name = "gitea"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "hedgedoc" {
account_id = var.cloudflare_account_id
name = "hedgedoc"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "k3s" {
account_id = var.cloudflare_account_id
name = "k3s"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "linkwarden" {
account_id = var.cloudflare_account_id
name = "linkwarden"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "noco" {
account_id = var.cloudflare_account_id
name = "noco"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "obsidian" {
account_id = var.cloudflare_account_id
name = "obsidian"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "tfstate" {
account_id = var.cloudflare_account_id
name = "tfstate"
location = "WEUR"
}
resource "cloudflare_r2_bucket" "zipline" {
account_id = var.cloudflare_account_id
name = "zipline"
location = "WEUR"
}