feat: create attic bucket

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-01-10 17:25:36 +01:00
parent 6efd720ace
commit bea643f627
Signed by: lander
GPG key ID: 0142722B4B0C536F
2 changed files with 12 additions and 2 deletions

7
buckets.tf Normal file
View file

@ -0,0 +1,7 @@
# Bucket for storage of nix cache
resource "cloudflare_r2_bucket" "attic" {
account_id = var.account_id
name = "attic"
location = "weur"
storage_class = "Standard"
}

View file

@ -1,2 +1,5 @@
variable "account_id" {
type = string
description = "Cloudflare account ID"
default = "daf6ae2391d4d68ecf3c5af2f1540f5c"
}