Conversation
|
Not sure if something is missing here. I think also the We probably need to add an integration test for this too, so that we can the issue I mentioned. I can provide a test if I find time |
|
This is simply about exposing the region specified on the cli as part of the resources, so that it can be filtered on. This allows me to write a config that I can use in different regions and will perform differently. |
b06e44e to
5494771
Compare
|
@jckuester This should be resurrected. The whole concept of this still works in the re-write you have done. It enables you to write a cleanup specification like: aws_instance:
- region: NOT(us-east-1)
tags:
Name: my-server-\d+-.+
created:
before: 1h
- region: us-east-1
tags:
Name: my-server-0[^1]-.+
created:
before: 1h |
|
@jckuester Sounds great! I'd love to know if the perf improvements seem good to you. For me they were a really big help when trying to cleanup resources in 13+ regions. |
Add support for filtering on region so that I can have one config file that can work across multiple regions.