Skip to content

Instantly share code, notes, and snippets.

@kapilt
Created March 22, 2018 10:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kapilt/18db08c94e3250e95bc12dc5291cd70b to your computer and use it in GitHub Desktop.
policies:
- name: mark
resource: ec2
filters:
- "tag:Action": absent
actions:
- type: mark-for-op
tag: Action
op: stop
days: 0
- name: marked
resource: ec2
filters:
- type: marked-for-op
op: stop
tag: Action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment