为EC2自动打标签
policies:
- name: ec2-tag-compliance-mark
resource: ec2
comment: |
Find all (non-ASG) instances that are not conformant
to tagging policies, and tag them.
filters:
- or:
- "tag:Owner": absent
- "tag:CostCenter": absent
- "tag:Project": absent
actions:
- type: tag
key: Owner
value: Lily Chen
- type: tag
key: Project
value: SOAR最后更新于