initial commit
Signed-off-by: Jason Hall <imjasonh@gmail.com>
This commit is contained in:
commit
4dc1b58f2f
20 changed files with 1398 additions and 0 deletions
19
terraform/backups.tf
Normal file
19
terraform/backups.tf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
resource "google_storage_bucket" "backups" {
|
||||
name = "${var.project_id}-forgejo-backups"
|
||||
location = var.region
|
||||
storage_class = "STANDARD"
|
||||
uniform_bucket_level_access = true
|
||||
|
||||
lifecycle_rule {
|
||||
condition {
|
||||
age = 30
|
||||
}
|
||||
action {
|
||||
type = "Delete"
|
||||
}
|
||||
}
|
||||
|
||||
versioning {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue