Tom Nguyen
06/05/2025, 2:30 AMnotify
type within an ec2 off-hours-policy with Slack delivery via the mailer, using the following snippet:
- type: notify
slack_template: slack-alert
slack_msg_color: warning
subject: "EC2 Instance(s) Stopped for Off-Hours"
violation_desc: "Your EC2 instance(s) have been automatically stopped as part of off-hours management."
action_desc: "..."
to:
- <slack://tag/Owner>
transport:
type: sqs
queue: <https://X>
The issue I'm hitting is that when multiple instances match the filter, they get bundled into a single message payload, which means the mailer Lambda sends all of them to one Owner
tag recipient — usually just the first one found.
What I'd like is for each resource to be sent to its respective Owner
, ideally as separate messages or otherwise handled individually in the mailer.
Should I be using a different to:
value than <slack://tag/Owner>
? Or is there a way to split/group the message per Owner
so the mailer sends them separately?
Appreciate any pointers — thanks! 🙏EJ Santos
06/10/2025, 12:30 AMSanjeewa Dasanayaka
06/11/2025, 7:33 AMactions:
- type: set-instance-profile
when trying to push this policy to our git repo, I'm getting a error like "Exception: Invalid action type found for phase: set-instance-profile"
but i was able to push this policy to one f our AWS account manually using the command "custodian run -s /home/ubuntu/logs /home/ubuntu/ec2.yml" and its working fine by creating a lambda also.
what action can be used here? why the error comes when using pipeline to push GitHub repo but not when deploying manually ?corey
06/12/2025, 4:28 PMpython3.9
from when it was the default. I’d like to bump them to the new default python3.11
.
I’m using c7n-org if it makes a difference.Fernando Toledo
06/12/2025, 6:07 PMFernando Toledo
06/12/2025, 6:08 PMAlistair
06/17/2025, 5:35 PMOreoluwa
06/19/2025, 6:57 PMChris Watkins
06/26/2025, 5:17 PMVishnu
07/01/2025, 11:06 AMJosh Reichardt
07/01/2025, 10:59 PMZaheer Mohiuddin
07/03/2025, 12:53 AMZaheer Mohiuddin
07/03/2025, 1:35 AMZaheer Mohiuddin
07/03/2025, 1:35 AMZaheer Mohiuddin
07/03/2025, 1:36 AMkapilt
07/03/2025, 1:37 AMZaheer Mohiuddin
07/03/2025, 1:38 AMkapilt
07/03/2025, 1:38 AMkapilt
07/03/2025, 1:38 AMZaheer Mohiuddin
07/03/2025, 1:39 AMkapilt
07/03/2025, 1:39 AMZaheer Mohiuddin
07/03/2025, 1:40 AMkapilt
07/03/2025, 1:40 AMZaheer Mohiuddin
07/03/2025, 1:42 AMkapilt
07/03/2025, 1:43 AMOreoluwa
07/04/2025, 11:41 AMunsupported media type application/vnd.dev.cosign.simplesigning.v1+json
. But if I reference the full image URL of the image from days ago, that works smoothlyMichael Davis
07/09/2025, 3:10 PMD Rajapakse
07/10/2025, 2:34 AMD Rajapakse
07/10/2025, 2:35 AMD Rajapakse
07/10/2025, 11:46 AM