Skip to content

Instantly share code, notes, and snippets.

@satvan
satvan / gist:cd8e2920265810b3e7eaa642f43db145
Created January 3, 2021 15:33
Cloud Custodian Policy not working
policies:
- name: ec2-mark-31-days-old-instance
resource: ec2
description: |
Mark any ec2 instance for deletion in 10 days
If an instance is 31 days or older
filters:
- and:
- type: instance-age
op: ge