scaleway/object-bucket v0.1.1
Context
ADR-0044 designed storage_class = \"glacier\" as an immediate (days = 0) lifecycle_rule transition to GLACIER. Applying it against the one live consumer (noisypigeon/vault/email) fails outright:
Error: error applying lifecycle configuration to bucket vault-5t39z4-email:
... api error InvalidArgument: Transition rule for storage-class "GLACIER" must be at least 90 days
Scaleway rejects a days = 0 GLACIER transition outright — the API enforces a 90-day minimum. storage_class = "glacier" never actually worked.
Decision
- Set
transition.days = 90inbucket.tf— the minimum Scaleway's API accepts. - No input/output signature change —
release:patch.
Full ADR: docs/adr/0072-fix-scaleway-object-bucket-glacier-transition-minimum-days.md
Test plan
-
terraform validatepasses on the module. -
terraform fmt -checkpasses. -
mise run ci(Rust gate) passes — unaffected by this change. -
terragrunt applyforvault/emailwith the new module version (to be run after merge, with live credentials).