carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1variable "region_code" {
2 description = "Short region code this host serves (e.g. pi, hq)."
3 type = string
4}
5
6variable "data_bucket_name" {
7 description = "Name of this region's data bucket (created here)."
8 type = string
9}
10
11variable "deployment_bucket_arn" {
12 description = "ARN of the existing deployment bucket the host reads releases/status from and writes heartbeats to. Optional (default \"\"): a fleet-API box (fleet API surface, issue #73) reaches the platform's deployment bucket over the console's edge with its tunnel token, not a direct IAM grant — leave this unset and no deployment-bucket statement is emitted. Only a grandfathered direct-S3 box needs it set."
13 type = string
14 default = ""
15}
16
17variable "sibling_staging_arns" {
18 description = "Sibling regions' data-bucket ARNs this host may STAGE residence-moves into (instance-move spec, issue #331). moves/*-scoped push-only, exactly region-host's statement shape: Put/Delete on staging objects + prefix-conditioned ListBucket; never instances/*, never GetObject. Empty (the default): no cross-bucket statement."
19 type = list(string)
20 default = []
21}
22