这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Conversation

@Ten48BASE
Copy link
Contributor

@ebukoski My last PR was old and so far behind master that I just reset and created this PR based on an up-to-date clone. This PR has a couple of tests included.

Sometimes you don't care if specific resource types have tags (like Launch Configurations), but you want to require tags on other resource types (like Instances), yet you still want Janitor Monkey to track and clean-up all resources.

For example, EBS Volumes are attached after our deployment automation is finished and they therefore don't get a proper owner tag (even though Volume Tagging Monkey transfers the attached Instance owner tag to the meta-data EBS Volume tag). Additionally, Launch Configurations don't even support tags, so enabling the untaggedResourceRule seems to flag all Launch Configurations.

This feature allows one to opt-in only the resources they care about really having tags for the untaggedResourceRule. If the resource type is not opted-in for Janitor Monkey at all that resource type will be ignored even if included in the untagged resource configuration.

@ebukoski
Copy link
Contributor

LGTM thanks for adding the tests!

@ebukoski ebukoski merged commit af839cb into Netflix:master May 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants