|
|
@@ -53,7 +53,7 @@ Worked scale: two sites with two connectors each is four targets. One metric on
|
|
|
|---|---|---|---|
|
|
|
| Overlapping VPC ranges | Both sites default to `10.78.0.0/24`. A Twingate resource's address is an IP, so two networks with the same range make an address ambiguous | `reserved_ranges` validation: list the other ranges and the plan fails on overlap | The validation exists. That Twingate cannot tell two same-address resources apart is UNVERIFIED |
|
|
|
| Names collide | Every name embeds the region; two stacks in one region produce equal names | A distinct `resource_key` on the **new** stack | Whether Twingate or DigitalOcean refuses duplicates is UNVERIFIED |
|
|
|
-| One stolen key reaches too much | A Twingate service key authorizes access to all resources assigned to its service (Twingate documentation, https://www.twingate.com/docs/services/ , fetched 2026-10-16, quoted in the design) | One service per site per role; one key per host; each service granted only that role's resources | Key facts from one page. The page does not document limits on services per plan, which is not the same as "no limit" |
|
|
|
+| One stolen key reaches too much | A Twingate service key authorizes access to all resources assigned to its service (Twingate documentation, https://www.twingate.com/docs/services/ , fetched 2026-10-16, quoted in the design) | One service per site per role; one key per host; each service granted only that role's resources | Key facts from one page. Re-checked 2026-10-21 on the Twingate pricing page and the Services page: they name "secure service accounts" as a plan feature but state no count per plan. Not documented is not the same as "no limit": the maintainer reads the limit in the Twingate console (Settings, Billing) before any stack 20 apply that enables a flag (even one site creates two services) |
|
|
|
| Label cardinality | See above | The label allow-list and the generator test | General Prometheus behaviour |
|
|
|
| Agent name reuse | A rebuilt droplet enrolls again under the same name | A site prefix in agent names, set through the separate `log_shipping.agent_name_prefix` input (the access stack never reads `site_name`), which you set to the same value by hand | Built as the opt-in `log_shipping.agent_name_prefix` in stack 10 (`<prefix>-connector-<a or b>`), not applied |
|
|
|
| Dashboards show only some sites | The existing Twingate dashboard at home has variables for exactly two named connectors; a third host shows nothing | `site` and `instance` variables | Read from the home stack on 2026-10-16, by role only |
|
|
|
@@ -107,7 +107,7 @@ The gate checks **declared** stacks only. It cannot see a Spacelift stack that s
|
|
|
2. `10.79.0.0/24` only. `10.50.4.0/24` is inside `10.50.0.0/16`, and `10.78.0.0/25` is inside the first site's range. List the first site's range and both home ranges in `reserved_ranges`; the check only knows what you list, so it prompts the human check and does not replace it.
|
|
|
3. `site_name` alone: nothing. No resource, tag or output uses it, so the plan is a no-op. `resource_key`: the Twingate network, group, resources, tag, firewall and both droplets are renamed, and several force new machines. Discard the run.
|
|
|
4. A job names a kind of target. A job per site means every panel and alert that selects the job is rewritten per site and "all sites" is a list to maintain. A label adds one filter and `by (site)` gives the per-site view.
|
|
|
-5. One site: 2 services (logging, scrape) and 3 keys (two cloud hosts for logging, one home key for scrape). Two sites: 4 services and 6 keys. This is this page's counting of the design, not a figure the design states. Whether the Twingate plan allows that many services is **not documented** on the page the design cites; verify before relying on it.
|
|
|
+5. One site: 2 services (logging, scrape) and 3 keys (two cloud hosts for logging, one home key for scrape). Two sites: 4 services and 6 keys. This is this page's counting of the design, not a figure the design states. Whether the Twingate plan allows that many services is **not documented** (pricing and Services pages read 2026-10-21, no count per plan); the maintainer reads the limit in the Twingate console (Settings, Billing) before any stack 20 apply that enables a flag (even one site creates two services), and nobody assumes a number.
|
|
|
6. Three kinds of change, not three files. (a) **A cost manifest for every new stack id**, including zero-cost ones: `config_problems()` requires exactly one manifest per declared id, so the access instance (`stacks/sites/tor2/10-access/cost.json`) and, later, the foundation instance and the telemetry stack each need one. (b) **The site's settings**: its values, plus the provider's `approved_monthly_total` (and the `sites` map if used) in `docs/stages/approved.json`, and an entry in `.spacelift/config.yml` per new stack id. (c) **The Spacelift and Doppler objects**: the stacks themselves, their label and context attachments, their run policies, and the site's Doppler config and token.
|
|
|
|
|
|
</details>
|