feat: create attic bucket
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
6efd720ace
commit
bea643f627
2 changed files with 12 additions and 2 deletions
7
buckets.tf
Normal file
7
buckets.tf
Normal 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"
|
||||
}
|
||||
|
|
@ -1,2 +1,5 @@
|
|||
|
||||
|
||||
variable "account_id" {
|
||||
type = string
|
||||
description = "Cloudflare account ID"
|
||||
default = "daf6ae2391d4d68ecf3c5af2f1540f5c"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue