mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
update media bucket
This commit is contained in:
parent
7f2d16f350
commit
1ceeffbf29
5 changed files with 16 additions and 15 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
use nix
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,6 +1,7 @@
|
|||
# Nix
|
||||
result
|
||||
*.qcow2
|
||||
.direnv/
|
||||
|
||||
# Terraform
|
||||
config.tf.json
|
||||
|
|
|
|||
23
.terraform.lock.hcl
generated
23
.terraform.lock.hcl
generated
|
|
@ -1,21 +1,16 @@
|
|||
# This file is maintained automatically by "terraform init".
|
||||
# Manual edits may be lost in future updates.
|
||||
|
||||
provider "registry.terraform.io/cloudflare/cloudflare" {
|
||||
version = "5.0.0"
|
||||
constraints = "5.0.0"
|
||||
provider "registry.terraform.io/backblaze/b2" {
|
||||
version = "0.10.0"
|
||||
constraints = "0.10.0"
|
||||
hashes = [
|
||||
"h1:O82a1Op8ngTUIkJL59g4aFWdh2iPlesgjMEQ3NjGuXU=",
|
||||
"zh:1acf018fef1e8eaf96372a6c6f42a8702f67299dc66c2151faba4f38bfbba6f2",
|
||||
"zh:2d2e18ee202b01c21ef15f2e1aaf3e6d0ba50a3ddceb88f96f5ce42b93f16bff",
|
||||
"zh:2e1ff10b734e94e96abe48e45b2f5efc15e6cd8dfc9b2e14d283d23d47246f05",
|
||||
"zh:45fed575297427a614fe745a90ccc7d85e276540f57e311bb864ec4cc4ff7740",
|
||||
"zh:4ea63f3e83552b6bfae7752cf5dd3f9de91bfed6aa541b100d514390f292c671",
|
||||
"zh:6695b6b5284caf8c56eea83d16bdd0adfc5a062649f5a1960851495fe32e4e78",
|
||||
"zh:ab1a88fd852e385d95868e80c759160a1ab6795b37f8614d5a88682581fbb489",
|
||||
"zh:aea2cc92d6c783f34bc359f66db25a500060fb9b0715387310fb58335236c0f2",
|
||||
"zh:c93bc154cf7985ee79544ac349af4ec433da636a153ade0d1a60d74b3d965654",
|
||||
"zh:f809ab383cca0a5f83072981c64208cbd7fa67e986a86ee02dd2c82333221e32",
|
||||
"h1:e4sWNH6KEXlb7SXKSq3DRuY9StJG6ezZYZqrzLzgO/0=",
|
||||
"zh:03d4ec22a8a47dfc4e1beccd261f37b22113646d246853195fe5d8cb6febf90c",
|
||||
"zh:08c9ea953b3dcb01aeebd372b9bd2c1a6c1f0b996125bde03c094bc5e75fb55b",
|
||||
"zh:4f8589276b11f00feb511bd500e2f02abe41371ce2ab74507dd53a7e1110e944",
|
||||
"zh:8bfcdb1b1cfaa20fa0f717758fca38290e6bd5ff6499ad196dd2f68f95aeab18",
|
||||
"zh:dfac030714a098956d6df3bf6277d08c19b5b037cd7ec30821ec2edb0de49328",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,11 @@
|
|||
"b2_bucket"."media" = {
|
||||
bucket_name = "wce-media-backup";
|
||||
bucket_type = "allPrivate";
|
||||
lifecycle_rules = {
|
||||
file_name_prefix = "";
|
||||
days_from_uploading_to_hiding = 1;
|
||||
days_from_hiding_to_deleting = 1;
|
||||
};
|
||||
};
|
||||
|
||||
# "cloudflare_r2_bucket"."cache" = {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
];
|
||||
shellHook = ''
|
||||
nix build .#terranix.wce -o config.tf.json
|
||||
zsh
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue