output "instance_id" { description = "Open a session with aws ssm start-session --target ." value = aws_instance.workstation.id } output "verify" { description = "Proof the workstation reaches evidence and nothing else, and that trying is noticed." value = <<-EOT In a session on ${aws_instance.workstation.id}: curl -m 5 -sI https://example.com # the name does not resolve: DNS Firewall answers NXDOMAIN, and the blocked-lookup alarm fires curl -m 5 -sI https://1.1.1.1 # times out, and the refused-connection alarm fires aws s3 ls s3://${var.evidence_bucket}/ # lists the evidence aws s3 cp /etc/hostname s3://${var.evidence_bucket}/test # AccessDenied: the endpoint allows reads only EOT }