Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

How to get untagged resources? #12

Closed
2 tasks done
hakkol opened this issue Aug 21, 2019 · 7 comments
Closed
2 tasks done

How to get untagged resources? #12

hakkol opened this issue Aug 21, 2019 · 7 comments
Assignees
Labels
ce feature-request New feature or request resourcegroupstaggingapi service-api This issue pertains to the AWS API

Comments

@hakkol
Copy link

hakkol commented Aug 21, 2019

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?

@ajredniwja
Copy link

@hakkol,

Unfortunately there was no API I could find for this, will mark this as a feature request.

@ajredniwja ajredniwja transferred this issue from aws/aws-sdk-js Nov 6, 2020
@ajredniwja ajredniwja added service-api This issue pertains to the AWS API feature-request New feature or request labels Nov 7, 2020
@stobrien89 stobrien89 added ce and removed service-api This issue pertains to the AWS API labels Jul 26, 2021
@cercao
Copy link

cercao commented Dec 22, 2021

👍🏼

@tim-finnigan
Copy link
Contributor

P62102853

@tim-finnigan
Copy link
Contributor

tim-finnigan commented Mar 30, 2022

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.

@tim-finnigan tim-finnigan added the service-api This issue pertains to the AWS API label May 23, 2022
@tim-finnigan
Copy link
Contributor

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!

@github-actions
Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@PraveenR-r
Copy link

PraveenR-r commented Oct 24, 2023

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ce feature-request New feature or request resourcegroupstaggingapi service-api This issue pertains to the AWS API
Projects
None yet
Development

No branches or pull requests

6 participants