infra: add foxhunt-binaries S3 bucket for binary distribution

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-28 17:56:57 +01:00
parent 359f847026
commit 5287bbbf66
2 changed files with 23 additions and 0 deletions

View File

@@ -60,3 +60,21 @@ resource "scaleway_object_bucket" "sccache" {
enabled = false
}
}
resource "scaleway_object_bucket" "binaries" {
name = "${var.bucket_name_prefix}-binaries"
region = var.region
lifecycle_rule {
enabled = true
prefix = "archive/"
expiration {
days = 30
}
}
versioning {
enabled = false
}
}

View File

@@ -27,3 +27,8 @@ output "sccache_bucket_name" {
description = "Name of the sccache bucket"
value = scaleway_object_bucket.sccache.name
}
output "binaries_bucket_name" {
description = "Name of the binaries distribution bucket"
value = scaleway_object_bucket.binaries.name
}