-
Notifications
You must be signed in to change notification settings - Fork 16
How to get untagged resources? #12
Comments
Unfortunately there was no API I could find for this, will mark this as a feature request. |
👍🏼 |
P62102853 |
The Resource Groups Tagging API provides this ability to an extent, as described here in Stack Overflow. The caveat that someone there mentioned being "The API will not return resources that have never been tagged. It will only return them once they have had at least one tag in the past, even if they don't have tags anymore." I reached out to the Resource Groups team to see if adding the ability to list all untagged resources (including those that were never tagged) is on their roadmap. Update: I rerouted this request back to the CostExplorer team since the original question related to one of their APIs. |
Checking in again - the CostExplorer team added this feature request to their backlog for further consideration. In the meantime you can continue getting the untagged resource information in the console per this documentation: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-advanced.html. For updates going forward please reach out through AWS Support or feel free to check back in here in the future as well. Thanks! |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Hi @tim-finnigan, Is this issue been looked upon? Wondering if the SDK could list down untagged resources from the AWS account. Because using the same resourcegrouptagging sdk, it still returns tagged resources and the resources that has been tagged before. Is there any filter that could be set to get the untagged resources as well? |
Confirm by changing [ ] to [x] below:
Describe the question
I use CostExplorer class and getCostAndUsage function. In UI aws there is an opportunity to get a report with "Show only untagged resources". What needs to be specified with filters to get only untagged resources in the aws sdk?
The text was updated successfully, but these errors were encountered: