outputs.tf
52 lines 2.1 KB
Raw
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor ⚠ breaking 1 day ago
1 output "paperclip_instance_id" {
2 description = "EC2 instance ID — use this in AWS Console for stop/start/reboot"
3 value = aws_instance.paperclip.id
4 }
5
6 output "paperclip_public_ip" {
7 description = "Public IP of the Paperclip orchestrator. Use Tailscale (paperclip-prod hostname) for routine access; use this only if Tailscale is down."
8 value = aws_instance.paperclip.public_ip
9 }
10
11 output "paperclip_public_dns" {
12 description = "Public DNS of the Paperclip orchestrator"
13 value = aws_instance.paperclip.public_dns
14 }
15
16 output "paperclip_private_ip" {
17 description = "Private VPC IP — used for internal AWS-to-AWS traffic if you ever add more services"
18 value = aws_instance.paperclip.private_ip
19 }
20
21 output "ssh_command" {
22 description = "Fallback SSH (use only if Tailscale is broken). Routine access: ssh ubuntu@paperclip-prod via Tailscale."
23 value = "ssh ubuntu@${aws_instance.paperclip.public_ip}"
24 }
25
26 output "tailscale_admin_url" {
27 description = "Open this in your browser AFTER terraform apply to confirm the box joined Tailscale. Rename the node to 'paperclip-prod'."
28 value = "https://login.tailscale.com/admin/machines"
29 }
30
31 output "ssm_namespace" {
32 description = "AWS SSM Parameter Store namespace for secrets. Run scripts/push-secrets.sh to populate."
33 value = "/knowtation/paperclip/"
34 }
35
36 output "next_steps" {
37 description = "What to do after terraform apply succeeds"
38 value = <<-EOT
39
40 Next steps:
41 1. Wait ~3 minutes for the instance to boot, run user-data, and join Tailscale.
42 2. Open https://login.tailscale.com/admin/machines and rename the new node to 'paperclip-prod'.
43 3. From your Mac (which must also be on Tailscale): tailscale ping paperclip-prod
44 4. SSH in: ssh ubuntu@paperclip-prod
45 5. Run install: sudo bash /opt/paperclip/install.sh
46 6. Push secrets: sudo -u paperclip /opt/paperclip/scripts/push-secrets.sh
47 7. Smoke test: sudo -u paperclip /opt/paperclip/scripts/hello-world-test.sh
48
49 See docs/marketing-internal/RUNBOOK-VIDEO-FACTORY-2026-04-30.md Step 8 for full details.
50
51 EOT
52 }
File History 2 commits
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor 1 day ago
sha256:9103f98c89257ed2b01c237cea895dabb3e85ea337dccb1161c175e4422355b6 docs: accept Calendar Events v0 spec with Phase 0 security … Human 1 day ago