output "verify" { description = "Proof the workstation reaches evidence and nothing else, and that trying is noticed." value = <<-EOT gcloud compute ssh forensic-workstation --zone ${var.zone} --project ${var.project_id} --tunnel-through-iap In the session: getent hosts example.com # no answer, and the outside-lookup alert fires curl -m 5 -sI https://1.1.1.1 # times out, and the refused-connection alert fires gcloud storage ls gs://${var.evidence_bucket}/ # lists the evidence EOT } output "attach_snapshot" { description = "Examine a disk snapshot here, attached read-only." value = <<-EOT gcloud compute disks create evidence-1 --source-snapshot --zone ${var.zone} --project ${var.project_id} gcloud compute instances attach-disk forensic-workstation --disk evidence-1 --mode ro --zone ${var.zone} --project ${var.project_id} EOT }