ops / script catalog
← Browse

post-ec2-ip-to-slack

Read/write

Post the current EC2 instance hostname to a Slack channel

Path
aws/automation/postEC2ip2slack.sh
Language
bash
Category
aws/notifications
Version
2.0.0
Size
2.9 KB
Last modified
May 24, 2026, 12:23 AM

Required binaries

curlaws

Environment variables

SLACK_WEBHOOK_URLSLACK_CHANNEL

Required permissions

ec2:DescribeInstances

Tags

slackec2deploymentjenkinsnotifications

Run locally

# from the repo root
bash aws/automation/postEC2ip2slack.sh

# or via the ops CLI
ops run aws/automation/postEC2ip2slack.sh

AI operator plan

idle

If the deployment sets PLATPHORM_PROTECT=1, Vercel Authentication is the protection layer and this field may be left blank.

Run in sandbox

ready

Runs in an isolated Vercel Sandbox (Firecracker microVM, 5 min max, no persistent state). Runs require PLATPHORM_API_KEY unless the deployment sets PLATPHORM_PROTECT=1, where Vercel Authentication is the protection layer. The key stays in component state and is never persisted by this UI.

Related scripts