From 5124e35f05898f2aa396ba53dbbdf8173addb3cc Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 26 Mar 2024 19:29:24 +0100 Subject: [PATCH] feat: configure CloudFlare buckets --- infrastructure/buckets.tf | 65 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 infrastructure/buckets.tf diff --git a/infrastructure/buckets.tf b/infrastructure/buckets.tf new file mode 100644 index 0000000..7dfc8aa --- /dev/null +++ b/infrastructure/buckets.tf @@ -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" +} \ No newline at end of file