Files
foxhunt/infra/modules/object-storage/main.tf
jgrusewski 3e75afa160 infra: add OpenTofu modules for all Scaleway resources
- kapsule: cluster + 3 node pools (always-on, ci, gpu)
- object-storage: S3 bucket with 30-day sccache expiry
- registry: private Container Registry namespace
- secrets: JWT + DB password via Secret Manager
- block-storage: 100GB b_ssd for training data

All managed via Terragrunt with shared provider/backend.
Gitignore exception added for infra/*/secrets/ (TF code, not actual secrets).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:23:03 +01:00

18 lines
247 B
HCL

resource "scaleway_object_bucket" "artifacts" {
name = var.bucket_name
region = var.region
lifecycle_rule {
enabled = true
prefix = "sccache/"
expiration {
days = 30
}
}
versioning {
enabled = false
}
}