carlos / platform Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Census approval: sec-host-imdsv2-module
2
3Ruling `census-ruling-sec-host-imdsv2-module`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
4
5| unit | change | read sites | what changed |
6|---|---|---|---|
7| `infra/modules/region-host/main.tf` `external` | body | unchanged (1) | aws_instance.host gains metadata_options (IMDSv2 required, hop limit 1, endpoint enabled), matching scanner-host; tofu configuration only, run on an operator's machine; no read, file or record write is added; applies in place on a running instance with no restart |
8
9Envelopes re-pinned: `infra/modules/region-host`.
10
11Seal: `09e20ea4bbc534710334e632e903878656dabfb5817d4d96c6e7c56508172148` → `945934f5978ace14dc5a9bae0ed69dfabf29b994504fc843c03d4a633ecd6c6a`.
12
13Overlay: `internal/provision/testdata/plan14-root-reads-sec-host-imdsv2-module.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
14
15## Branch context
16
17The branch `sec-host-imdsv2-module` adds a `metadata_options` block to
18`aws_instance.host` in `infra/modules/region-host/main.tf` (IMDSv2 required,
19hop limit 1, endpoint enabled), matching scanner-host, and a plan-time tofu
20test under `infra/modules/region-host/tests/`. The record-write census does
21not change: no record write is added or moved.
22
23The new `tests/instance_metadata.tftest.hcl` is outside the census: the scan's
24extension list excludes `.tftest.hcl`, and envelopes group by immediate
25directory, so the module hash covers only the `.tf` files.
26
27Executing identity: tofu on an operator's machine with the operator's AWS
28credentials; no box unit runs the file and no binary embeds it.
29