Created
May 5, 2017 21:39
-
-
Save mechastorm/2e379788e5f56239d5f32d9cb98c420a to your computer and use it in GitHub Desktop.
Correct Custodian Policy that validates correctly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
policies: | |
- name: ec2-auto-tag-owner | |
resource: ec2 | |
mode: | |
type: cloudtrail | |
events: | |
- RunInstances | |
filters: | |
- "tag:Owner": absent | |
actions: | |
- type: auto-tag-user | |
tag: OwnerContact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment