infra: add foxhunt-binaries S3 bucket for binary distribution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user