pdf-host: key extra client lookups by position; Luna README copy
Astra R1 P1: keying by id fails to plan when the standby group is created in the same apply. Keyed by list position now, with a regression test that plans with an id unknown at plan (fails on id keys), and a duplicates test. README wording approved by Luna (Paul's delegation).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 files changed,
+122
−19
docs/superpowers/notes/census-proposal-pdf-host-client-groups.md+10 −5docs/superpowers/reviews/CODEX-FINDINGS-PDF-HOST-CLIENT-GROUPS-R1.md+37 −0infra/modules/pdf-host/README.md+6 −5infra/modules/pdf-host/main.tf+3 −1infra/modules/pdf-host/tests/computed.tftest.hcl+21 −0infra/modules/pdf-host/tests/computed/main.tf+13 −0infra/modules/pdf-host/tests/pdf_host.tftest.hcl+18 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −1internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv+13 −7
CI cancelled — superseded by a newer push — run details
Intent
Human
<task-notification> <task-id>bt0q42n2m</task-id> <tool-use-id>toolu_01LpMsmdj5yM8nCaFBzN6hN8</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/96a09f74-e398-48ed-a97f-140bd1f7e255/tasks/bt0q42n2m.output</output-file> <status>completed</status> <summary>Background command "Run Astra review and Luna copy gate" completed (exit code 0)</summary> </task-notification>
diff --git a/docs/superpowers/notes/census-proposal-pdf-host-client-groups.md b/docs/superpowers/notes/census-proposal-pdf-host-client-groups.md| index e6c5dbb18..bf2df55cc 100644 |
| --- a/docs/superpowers/notes/census-proposal-pdf-host-client-groups.md |
| +++ b/docs/superpowers/notes/census-proposal-pdf-host-client-groups.md |
| @@ -1,14 +1,14 @@ |
| # Census approval: pdf-host-client-groups |
| -Ruling `census-ruling-pdf-host-client-groups`. The independent reviewer approves or rejects every change below, 0 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| +Ruling `census-ruling-pdf-host-client-groups`. The independent reviewer approves or rejects every change below, 2 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| | unit | change | read sites | what changed | |
| |---|---|---|---| |
| -| `infra/modules/pdf-host/main.tf` `external` | body | unchanged (1) | Adds data.aws_security_group.additional_client (for_each over additional_client_security_group_ids) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; the box, role and fence are unchanged. | |
| -| `infra/modules/pdf-host/tests/pdf_host.tftest.hcl` `external` | body | unchanged (1) | Mock-provider tests for the standby group admitted, a group in another VPC refused, and a malformed id refused. | |
| +| `infra/modules/pdf-host/main.tf` `external` | body | unchanged (1) | Adds data.aws_security_group.additional_client keyed by list position (so an id created in the same apply still plans) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; box, role and fence unchanged. | |
| +| `infra/modules/pdf-host/tests/pdf_host.tftest.hcl` `external` | body | unchanged (1) | Mock-provider tests: standby group admitted, other-VPC group refused, malformed id refused, duplicates collapse. | |
| | `infra/modules/pdf-host/variables.tf` `external` | body | unchanged (1) | New optional input additional_client_security_group_ids (list of sg ids, default empty, validated as sg-...). No new read. | |
| -Envelopes re-pinned: `infra/modules/pdf-host`, `infra/modules/pdf-host/tests`. |
| +Envelopes re-pinned: `infra/modules/pdf-host`, `infra/modules/pdf-host/tests`, `infra/modules/pdf-host/tests/computed`. |
| Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner. |
| @@ -18,6 +18,11 @@ Recorded dispositions, which each change must still satisfy: |
| - `infra/modules/pdf-host/tests/pdf_host.tftest.hcl` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-design-pdf-service;basis=mock-provider tests cover loopback names, mapped IPv6 and userinfo, case-insensitive HTTP, public hostname boundaries and the case-sensitive file exemption; retain private engine-port, metadata/fence retry and Docker memory checks; no live infrastructure calls; never read by the CARLOS root binary or a box agent at runtime |
| - `infra/modules/pdf-host/variables.tf` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module inputs now reject memory_max below 6 MiB while retaining whole MiB/GiB validation; never read by the CARLOS root binary or a box agent at runtime |
| -Seal: `94ccbabaf19c3a449cec248a0c32fcc8593c82d3f7f433c6a48b6e0fdf068167` → `4e67ef2523845a94402c7d37b5d9e1319aa7822fe1e3fef402b65d95acbe6682`. |
| +New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff: |
| + |
| +- new `infra/modules/pdf-host/tests/computed.tftest.hcl:external`: reads +file:external; written legacy, accepted-legacy, frozen |
| +- new `infra/modules/pdf-host/tests/computed/main.tf:external`: reads +file:external; written legacy, accepted-legacy, frozen |
| + |
| +Seal: `94ccbabaf19c3a449cec248a0c32fcc8593c82d3f7f433c6a48b6e0fdf068167` → `cc424e6fe6ab0b649d59ebc50b995a6fcdc34b5f7b9f06b6d4987c751932bdcb`. |
| Overlay: `internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-PDF-HOST-CLIENT-GROUPS-R1.md b/docs/superpowers/reviews/CODEX-FINDINGS-PDF-HOST-CLIENT-GROUPS-R1.md| new file mode 100644 |
| index 000000000..abc3a304c |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-PDF-HOST-CLIENT-GROUPS-R1.md |
| @@ -0,0 +1,37 @@ |
| +Reviewed `origin/main` (`c48e91e5`) through `7d6c4fff7263940d32d5c40a0b395b10a4c368f8`, round 1 of 3. |
| + |
| +**P1 — A standby group created in the same apply prevents planning.** |
| + |
| +At [main.tf:6](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/pdf-host-client-groups/infra/modules/pdf-host/main.tf:6), `for_each = toset(var.additional_client_security_group_ids)` makes the group IDs the instance keys. When the README’s `module.standby_ie.security_group_id` comes from a group being created or replaced, its ID is unknown during planning. OpenTofu rejects the `for_each` before the VPC precondition can run. The documented configuration therefore requires a separate targeted apply. |
| + |
| +OpenTofu requires every set member used by `for_each` to be known before apply: [https://opentofu.org/docs/language/meta-arguments/for_each/](https://opentofu.org/docs/language/meta-arguments/for_each/). |
| + |
| +**Fix:** key the data lookups by known list positions, for example `{ for index, id in var.additional_client_security_group_ids : tostring(index) => id }`. Keep deduplication in the ingress expression and retain the VPC precondition. Add a regression using a known-length list containing an ID computed during apply, including rejection when its resolved VPC differs. |
| + |
| +**Fault family:** plan-time instance identity must not depend on IDs generated during apply. |
| + |
| +No separate P2 or P3 findings. |
| + |
| +The remaining checks: |
| + |
| +- **Ingress:** one TCP 3000 rule, with no CIDR or self setting. `distinct(concat(...))` removes duplicates, including repetition of the primary group. An empty list preserves the previous ingress value; byte-identical plans were not verified. |
| +- **Replacement:** with known IDs and an unchanged primary group, the additional groups affect only inline ingress. The AWS provider updates these rules in place; the instance retains the same security-group reference. This is source verification, not an executed transition plan. Provider source: [https://github.com/hashicorp/terraform-provider-aws/blob/v6.0.0/internal/service/ec2/vpc_security_group.go](https://github.com/hashicorp/terraform-provider-aws/blob/v6.0.0/internal/service/ec2/vpc_security_group.go). |
| +- **VPC check:** every additional lookup is compared with the primary group’s VPC. No bypass found for known IDs. Unknown IDs encounter the P1 above. |
| +- **Tests:** by inspection, removing standby admission breaks the positive assertion; removing the precondition or input validation leaves its corresponding expected failure unsatisfied. The tests do not cover computed IDs, duplicates, or add/remove replacement behavior. |
| +- **README:** accurate for existing groups, but its “from the start” example exposes the P1 when the standby group is new. |
| + |
| +Census verdicts apply to the recorded root-read dispositions, independently of the functional blocker: |
| + |
| +| Changed unit or envelope | Verdict | Evidence | |
| +|---|---|---| |
| +| `infra/modules/pdf-host/main.tf:external` | APPROVED | Lines 5–8, 23–51: operator-supplied groups only; no new root runtime reads. IAM, instance configuration and fence unchanged. | |
| +| `infra/modules/pdf-host/variables.tf:external` | APPROVED | Lines 15–23: optional validated input; existing validations retained. | |
| +| `infra/modules/pdf-host/tests/pdf_host.tftest.hcl:external` | APPROVED | Lines 344–385: mock-provider tests only; existing guards retained. | |
| +| `infra/modules/pdf-host` envelope | APPROVED | Both changed source files reviewed with their consumers; init template, outputs and provider requirements unchanged. | |
| +| `infra/modules/pdf-host/tests` envelope | APPROVED | Only the three reviewed test runs were added. | |
| + |
| +All three unit fingerprints and both envelope hashes match the overlay. |
| + |
| +`tofu fmt -check -recursive` and `git diff --check` passed. `tofu test` stopped because the required AWS provider was unavailable: zero tests passed, 22 skipped. No files were changed or subagents used. |
| + |
| +**NOT READY** |
| \ No newline at end of file |
diff --git a/infra/modules/pdf-host/README.md b/infra/modules/pdf-host/README.md| index 1f3e303a7..f17ffda3b 100644 |
| --- a/infra/modules/pdf-host/README.md |
| +++ b/infra/modules/pdf-host/README.md |
| @@ -2,7 +2,7 @@ |
| This module runs one Gotenberg container on a Debian arm64 EC2 box. The |
| console sends PDF requests to its private address. TCP 3000 accepts only the |
| -console's security group, plus any groups in `additional_client_security_group_ids`. Administration uses SSM Session Manager; the role |
| +console’s security group and any groups in `additional_client_security_group_ids`. Administration uses SSM Session Manager; the role |
| explicitly denies every SSM parameter read and has no bucket grants. |
| ```hcl |
| @@ -24,16 +24,17 @@ IPv4 address; IPv6-only subnets are unsupported. |
| ## A standby console |
| -If the console can fail over to a standby box with its own security group, |
| -admit both from the start, so a failover needs no change here: |
| +Allow both security groups from the start if the console can fail over to a |
| +standby box. A failover then needs no change here: |
| ```hcl |
| client_security_group_id = module.host_ie.security_group_id |
| additional_client_security_group_ids = [module.standby_ie.security_group_id] |
| ``` |
| -Every additional group must be in the client group's VPC. Adding or removing |
| -one changes the ingress rule in place; the box and its address stay. |
| +Every additional group must be in the client’s VPC. Adding or removing a group |
| +changes the ingress rule in place. The box and its private address stay the |
| +same. |
| ## Wiring and replacement |
diff --git a/infra/modules/pdf-host/main.tf b/infra/modules/pdf-host/main.tf| index 12c88fdc9..fad0c9a89 100644 |
| --- a/infra/modules/pdf-host/main.tf |
| +++ b/infra/modules/pdf-host/main.tf |
| @@ -3,7 +3,9 @@ data "aws_security_group" "client" { |
| } |
| data "aws_security_group" "additional_client" { |
| - for_each = toset(var.additional_client_security_group_ids) |
| + # Keyed by list position, not by id, so an id another resource creates in |
| + # the same apply (a new standby console's group) still plans. |
| + for_each = { for i, id in var.additional_client_security_group_ids : tostring(i) => id } |
| id = each.value |
| } |
diff --git a/infra/modules/pdf-host/tests/computed.tftest.hcl b/infra/modules/pdf-host/tests/computed.tftest.hcl| new file mode 100644 |
| index 000000000..a318caf68 |
| --- /dev/null |
| +++ b/infra/modules/pdf-host/tests/computed.tftest.hcl |
| @@ -0,0 +1,21 @@ |
| +# Mock resources only: this suite never contacts an AWS account. |
| +mock_provider "aws" {} |
| + |
| +override_data { |
| + target = module.pdf.data.aws_security_group.client |
| + values = { vpc_id = "vpc-0aaaaaaaaaaaaaaaa" } |
| +} |
| + |
| +override_data { |
| + target = module.pdf.data.aws_vpc.client |
| + values = { default = true } |
| +} |
| + |
| +# A standby group the same apply creates has no id at plan time; keying the |
| +# lookups by id would fail to plan. |
| +run "a_standby_group_created_in_the_same_apply_plans" { |
| + command = plan |
| + module { |
| + source = "./tests/computed" |
| + } |
| +} |
diff --git a/infra/modules/pdf-host/tests/computed/main.tf b/infra/modules/pdf-host/tests/computed/main.tf| new file mode 100644 |
| index 000000000..2df4511c6 |
| --- /dev/null |
| +++ b/infra/modules/pdf-host/tests/computed/main.tf |
| @@ -0,0 +1,13 @@ |
| +# Test fixture: a standby group id that is unknown at plan time, as when the |
| +# same apply creates the standby console's group. terraform_data is built in, |
| +# so the mock provider does not fill its id in at plan. |
| +resource "terraform_data" "standby" {} |
| + |
| +module "pdf" { |
| + source = "../.." |
| + name = "carlos-test-pdf" |
| + ami_id = "ami-0123456789abcdef0" |
| + client_security_group_id = "sg-0123456789abcdef0" |
| + additional_client_security_group_ids = ["sg-${substr(replace(terraform_data.standby.id, "-", ""), 0, 17)}"] |
| + region = "eu-west-1" |
| +} |
diff --git a/infra/modules/pdf-host/tests/pdf_host.tftest.hcl b/infra/modules/pdf-host/tests/pdf_host.tftest.hcl| index 67e6c432a..6b6529670 100644 |
| --- a/infra/modules/pdf-host/tests/pdf_host.tftest.hcl |
| +++ b/infra/modules/pdf-host/tests/pdf_host.tftest.hcl |
| @@ -383,3 +383,21 @@ run "a_malformed_additional_group_is_refused" { |
| } |
| expect_failures = [var.additional_client_security_group_ids] |
| } |
| + |
| +run "duplicate_groups_make_one_rule" { |
| + command = plan |
| + variables { |
| + additional_client_security_group_ids = ["sg-0123456789abcdef0", "sg-0fedcba9876543210", "sg-0fedcba9876543210"] |
| + } |
| + override_data { |
| + target = data.aws_security_group.additional_client |
| + values = { vpc_id = "vpc-0aaaaaaaaaaaaaaaa" } |
| + } |
| + assert { |
| + condition = alltrue([ |
| + for i in aws_security_group.pdf.ingress : |
| + i.security_groups == toset([var.client_security_group_id, "sg-0fedcba9876543210"]) |
| + ]) |
| + error_message = "duplicates collapse to one entry per group" |
| + } |
| +} |
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv| index 6d8adde16..8b4fc96a9 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -214,4 +214,4 @@ plan14-root-reads-replica-console-account.tsv 87e151a55efb12fb84e9c5939f2ead9058 |
| plan14-root-reads-offline-move-pool-target-413.tsv f79b455e32eb0f63e19ba8b5c67129e1af9315b8650c9e0807e83ec630a82182 |
| plan14-root-reads-probe-burst-block.tsv 94ccbabaf19c3a449cec248a0c32fcc8593c82d3f7f433c6a48b6e0fdf068167 |
| plan14-root-reads-g6-pool.tsv 94ccbabaf19c3a449cec248a0c32fcc8593c82d3f7f433c6a48b6e0fdf068167 |
| -plan14-root-reads-pdf-host-client-groups.tsv 4e67ef2523845a94402c7d37b5d9e1319aa7822fe1e3fef402b65d95acbe6682 |
| +plan14-root-reads-pdf-host-client-groups.tsv cc424e6fe6ab0b649d59ebc50b995a6fcdc34b5f7b9f06b6d4987c751932bdcb |
diff --git a/internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv b/internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv| index 538e6f41d..d67757c3f 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-pdf-host-client-groups.tsv |
| @@ -1,10 +1,16 @@ |
| # Census overlay pdf-host-client-groups, written by census-propose (#369). census-ruling-pdf-host-client-groups, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-pdf-host-client-groups.md. |
| -# 3 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -@legacy 2bee457a3ae615d3c25676d8dd91a37f1caada99727b71d59935b4a054b3a936 infra/modules/pdf-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module source defining the PDF engine box, security group and SSM-only role; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Adds data.aws_security_group.additional_client (for_each over additional_client_security_group_ids) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; the box, role and fence are unchanged. file:external@0 080d7b878a7ee1cd6cfc221a40170440b4cf79299c2c786bbfe249b5dcfd6380 |
| -@legacy 0961cd5371acba68d33f97a1e875efec695a6d1ce15f246320f7b7cfeb8eece2 infra/modules/pdf-host/tests/pdf_host.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=mock-provider tests cover loopback names, mapped IPv6 and userinfo, case-insensitive HTTP, public hostname boundaries and the case-sensitive file exemption; retain private engine-port, metadata/fence retry and Docker memory checks; no live infrastructure calls; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider tests for the standby group admitted, a group in another VPC refused, and a malformed id refused. file:external@0 be8460112274bd209d9b5647c85dd5f5bbe6a1f2ff372ff6a34685b40b36cb82 |
| +# 3 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 2 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| +@legacy 63c94eb95b4e0f430009df76c26c6b0cab7115da8ab7218ea7606a06a844d516 infra/modules/pdf-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module source defining the PDF engine box, security group and SSM-only role; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Adds data.aws_security_group.additional_client keyed by list position (so an id created in the same apply still plans) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; box, role and fence unchanged. file:external@0 f1ef25887bfd03723c2ddf44ec320be3d6c1f036f14e11f98eb35d2ff126564b |
| +@legacy 2c2592ea9f8601c20b7b6cd2d44c3454118800f1fdb1387dbccdbb6cc6594bfa infra/modules/pdf-host/tests/pdf_host.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=mock-provider tests cover loopback names, mapped IPv6 and userinfo, case-insensitive HTTP, public hostname boundaries and the case-sensitive file exemption; retain private engine-port, metadata/fence retry and Docker memory checks; no live infrastructure calls; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider tests: standby group admitted, other-VPC group refused, malformed id refused, duplicates collapse. file:external@0 1cd88edf2dba5596d01f08399320dfdf08d15771739f7aea54014201445b9dcc |
| @legacy 99a4b0ce6d2d679d354d0e4b4921c5dac0ef80abbc10dec8affe0555a9115fcc infra/modules/pdf-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module inputs now reject memory_max below 6 MiB while retaining whole MiB/GiB validation; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=New optional input additional_client_security_group_ids (list of sg ids, default empty, validated as sg-...). No new read. file:external@0 aa6b7ecfd8f82491063afc57fab57d8017c5e80fdf9fbfe1e504fdcc929f10b9 |
| -infra/modules/pdf-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module source defining the PDF engine box, security group and SSM-only role; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Adds data.aws_security_group.additional_client (for_each over additional_client_security_group_ids) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; the box, role and fence are unchanged. file:external@0 080d7b878a7ee1cd6cfc221a40170440b4cf79299c2c786bbfe249b5dcfd6380 |
| -infra/modules/pdf-host/tests/pdf_host.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=mock-provider tests cover loopback names, mapped IPv6 and userinfo, case-insensitive HTTP, public hostname boundaries and the case-sensitive file exemption; retain private engine-port, metadata/fence retry and Docker memory checks; no live infrastructure calls; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider tests for the standby group admitted, a group in another VPC refused, and a malformed id refused. file:external@0 be8460112274bd209d9b5647c85dd5f5bbe6a1f2ff372ff6a34685b40b36cb82 |
| +@legacy 37b6656e9dc3ba6047f0da7478c9b630e412fb52ae94570c5bbaf128062c6860 infra/modules/pdf-host/tests/computed.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider test: a standby group id unknown at plan still plans. file:external@0 e71155cf62eaeb5df22f79bf432355d75862d2111bd5ffb5179676ce9deeb969 |
| +@legacy 941ff651b4b7109265f1794d16678598a14becbd98125c05660d438bf58e5707 infra/modules/pdf-host/tests/computed/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-pdf-host-client-groups;basis=Test fixture module for the unknown-id test (terraform_data plus the pdf-host module). file:external@0 bc4980c006b6fd2028a0b24827262eb6d48d899b21b7757308dfe24ec7fcd8e2 |
| +infra/modules/pdf-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module source defining the PDF engine box, security group and SSM-only role; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Adds data.aws_security_group.additional_client keyed by list position (so an id created in the same apply still plans) and admits those groups on TCP 3000 beside the client group; a precondition refuses a group outside the client VPC. No new read by the root binary; box, role and fence unchanged. file:external@0 f1ef25887bfd03723c2ddf44ec320be3d6c1f036f14e11f98eb35d2ff126564b |
| +infra/modules/pdf-host/tests/pdf_host.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=mock-provider tests cover loopback names, mapped IPv6 and userinfo, case-insensitive HTTP, public hostname boundaries and the case-sensitive file exemption; retain private engine-port, metadata/fence retry and Docker memory checks; no live infrastructure calls; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider tests: standby group admitted, other-VPC group refused, malformed id refused, duplicates collapse. file:external@0 1cd88edf2dba5596d01f08399320dfdf08d15771739f7aea54014201445b9dcc |
| infra/modules/pdf-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-design-pdf-service;basis=OpenTofu module inputs now reject memory_max below 6 MiB while retaining whole MiB/GiB validation; never read by the CARLOS root binary or a box agent at runtime;rev3=census-ruling-pdf-host-client-groups;basis=New optional input additional_client_security_group_ids (list of sg ids, default empty, validated as sg-...). No new read. file:external@0 aa6b7ecfd8f82491063afc57fab57d8017c5e80fdf9fbfe1e504fdcc929f10b9 |
| -@coverage infra/modules/pdf-host fbab1c79b6df254a19cc147605b8883dfda3479aec35725a2d634c7b20f24858 |
| -@coverage infra/modules/pdf-host/tests 3cbb616d9f9a7e0f49950b95a9787f6a22f39d3b61c19f9989fb88f09aace422 |
| +infra/modules/pdf-host/tests/computed.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-pdf-host-client-groups;basis=Mock-provider test: a standby group id unknown at plan still plans. file:external@0 e71155cf62eaeb5df22f79bf432355d75862d2111bd5ffb5179676ce9deeb969 |
| +infra/modules/pdf-host/tests/computed/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-pdf-host-client-groups;basis=Test fixture module for the unknown-id test (terraform_data plus the pdf-host module). file:external@0 bc4980c006b6fd2028a0b24827262eb6d48d899b21b7757308dfe24ec7fcd8e2 |
| +@coverage infra/modules/pdf-host 8d41c67e2552b7211d3e9e0e3bdd11193eb67704a384325e14eae8969e15c3f0 |
| +@coverage infra/modules/pdf-host/tests 015fbffe2543fb740ba67ad2d3c5cace7e77530b005439aced7ef66c7d65efcb |
| +@coverage infra/modules/pdf-host/tests/computed 9f592e3a8533e06e37f0890064231cd49c66c4322e9135d373242f837bbd4c88 |