Created
May 5, 2017 21:28
-
-
Save mechastorm/a9547d808c3ca5962bebc7b73f421797 to your computer and use it in GitHub Desktop.
Auto tag Owner if tag does not exist
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 | |
mode: | |
type: cloud-trail | |
events: | |
- CreateInstance | |
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