-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags are not respected? #110
Comments
@YuriGal it looks like SageMakerDomain doesn't have tag support, should be trivial for me to add, I'll take a look tonight. |
That would be awesome! Would it be possible to add this to other similar resources? I know some resources can't be tagged at all in AWS, but if all of those that can could be filtered by tags it would be great. |
Yes, as long as the resource supports tags, the resource in this project just needs to be identified as needing it's tags exposed and then filtering will work. |
Not sure if I am doing something wrong, but with |
What happens exactly? Does it show up as "filtered by config"? Can you please provide the output and the config? |
@YuriGal let me know when you get a chance. I'll see what I can do to replicate or test. |
Ok, so to simplify testing I am using a basic config like this
There is a sagemaker domain in
|
@YuriGal I broke it when I added tests. Fix inbound. |
Thanks! And thank you for such a fast response time. |
🎉 This issue has been resolved in version 3.0.0-beta.33 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Looks like it's works properly for SageMakerDomain, thanks! Would it be possible to do the same for other resources that support tags, but tags aren't exposed? |
Ideally just need an issue with a list of Resources that are missing tags that support tags and I can look into it. It depends on the resource and the API as to how much effort it takes. |
I think I can provide the list, just have to collect it. Meanwhile I am afraid I found another bug, will open a separate issue. |
Ok, so teams provided me with following list of resources that were tagged, but got nuked anyway
I know for sure that this is true for ECSCluster and SQSQueue, but didn't get a chance to verify other ones. |
btw, (unrelated) question: does this nuke supports |
It's suppose to, but looking at the options, it appears to be missing. The goal is to be 99% backwards compatible with the original, minus the I'll fix this oversight, mind opening an issue? You'll get notified that way when it get's fixed. |
🎉 This issue has been resolved in version 3.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
We tag our resources that we want to keep from nuking with key
do-not-nuke
and valuetrue
, then we add this to filter section - and for majority of resources it works. But for some resources it's ignored. For example we tagged a Sagemaker domain:And using filter similar to this one:
Similar setup works for majority of other resources, yet here we're getting output
is it a bug, or some omission on our side? How do we make it respect the tags?
The text was updated successfully, but these errors were encountered: