carlos / platform Public

infra: document the existing alert topic input

Describe alerts_topic_arn beside alerts_email and clarify that the memory
alarm is disabled only when both inputs are empty.
Co-Authored-By: GPT-6 Astra <noreply@openai.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 1f7a5740ab304bee2d83683a2f9989a87d8b4658 parent 1aed0fc
1 file changed, +2 −1
  • infra/modules/README.md +2 −1
diff --git a/infra/modules/README.md b/infra/modules/README.md
index ffd2578e1..e91c128f4 100644
--- a/infra/modules/README.md
+++ b/infra/modules/README.md
@@ -75,7 +75,8 @@ bucket, so a wrong-region wake fails loudly at the IAM layer.
| `steering_record_names` | Name bound on that grant, e.g. `["*.oncarlos.com"]`. Empty (default) grants A-record UPSERT/DELETE on the WHOLE zone, apex included — set it. |
| `ami_name_pattern` | AMI name filter (default `debian-13-arm64-*`). |
| `ami_owner` | AMI owner account (default `136693071363`, Debian). |
-| `alerts_email` | Email for the host's `MemAvailablePercent < 15% for 3 min` alarm (memory-pressure spec §2.4). The module creates a same-region SNS topic + subscription per host (an alarm cannot notify a topic in another region). Empty (default): no topic, no alarm. Set it only once the box is publishing — missing data is treated as breaching. The `cloudwatch:PutMetricData` grant on namespace `Carlos/Host` is unconditional, so the agent's memwatch duty publishes either way. |
+| `alerts_email` | Email for the host's `MemAvailablePercent < 15% for 3 min` alarm (memory-pressure spec §2.4). The module creates a same-region SNS topic + subscription per host (an alarm cannot notify a topic in another region). With both alert inputs empty (default), no topic or memory alarm is created. Set it only once the box is publishing — missing data is treated as breaching. The `cloudwatch:PutMetricData` grant on namespace `Carlos/Host` is unconditional, so the agent's memwatch duty publishes either way. |
+| `alerts_topic_arn` | Use an existing same-region SNS topic for the memory alarm instead of creating one with `alerts_email`. |
| `enable_auto_recovery` | Arm the EC2 auto-recovery alarm (HA ladder rung 0) — a system-status-check failure recovers the instance onto healthy hardware, same instance id, EIP and volumes. Default `true`; set `false` only where an external supervisor owns recovery. |
Outputs: `eip_public_ip` (point your DNS here), `instance_id`,