Closed cloudlena closed 4 years ago
That is correct. Unfortunately, tags are not always returned as part of a List...
or Describe...
and I need the add some extra logic to fetch tags for every resource (as @kadaan did here for the ELB https://github.com/cloudetc/awsweeper/pull/47).
Most preferable, I'd like to find some generic way to fetch tags for every resource. I'll need to investigate on that when I find time...
@mastertinner to be more clear, I added an overview about which resources currently support tags in awsweeper
: https://github.com/cloudetc/awsweeper#supported-resources
For aws_iam_role
filtering should actually be working.
@mastertinner just letting you know that I have now implemented a generic way to make tags working for all resources that support them: https://github.com/cloudetc/awsweeper/releases/tag/v0.9.0.
To see which resources support tags, see the list here (the list has gotten also much longer; over 200 resources are supported now): https://github.com/cloudetc/awsweeper#supported-resources
Let me know if I can close this issue :smiley:
Thanks a lot for your effort, @jckuester! Looks great and this issue can be closed.
For me, the tags filter is not working... I have multiple resources that have the tag
environment: test
. However, when I run the following config:To me it looks like
awsweeper
doesn't support filtering by tags for all the AWS resources that officially support tags (e.g.aws_iam_role
) in Terraform. Is that possible?