Find untagged EC2 instances and fix them via a page
Build a scheduled workflow that lists EC2 instances and identifies those missing required tags. Post a Slack message with a link to a page pre-loaded with the offending instances. On the page, let a user set the required tag values and write them back to EC2 via the AWS API. Validate tag keys/values, confirm the update, handle permissions errors, and re-check after submission. Output the instances remediated.
What this prompt builds
Detect EC2 instances missing required tags and let owners fix them from a Slack-linked page.
The problem
Untagged EC2 instances wreck cost allocation, ownership tracking, and security posture, but chasing owners to tag them is a thankless manual loop. The backlog of untagged resources only grows.
Solution and impact
This workflow finds EC2 instances missing required tags and posts a Slack message linking to a page where anyone can set the tags in seconds. Tag hygiene improves without IT doing the data entry.