From 547e9b6bc13ea71431b8c84ae1689abad4cb6788 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 15 Nov 2025 11:54:13 -0800 Subject: drop terraform/terranix --- terraform/admin/backups.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 terraform/admin/backups.nix (limited to 'terraform/admin/backups.nix') diff --git a/terraform/admin/backups.nix b/terraform/admin/backups.nix deleted file mode 100644 index ae021e5..0000000 --- a/terraform/admin/backups.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, ... }: -{ - resource.google_storage_bucket.backups = { - name = "fcuny-infra-backups"; - storage_class = "NEARLINE"; - force_destroy = true; - uniform_bucket_level_access = true; - public_access_prevention = "enforced"; - location = lib.tfRef "var.gcp_region"; - - lifecycle_rule = [ - { - condition.age = 365; # After 1 year - action = { - type = "SetStorageClass"; - storage_class = "COLDLINE"; - }; - } - { - condition.age = 730; # After 2 years - action = { - type = "SetStorageClass"; - storage_class = "ARCHIVE"; - }; - } - ]; - }; -} -- cgit v1.2.3