Skip to content

Tag exclusion not functioning for aws_workspaces_directory #122

@aghassemlouei

Description

@aghassemlouei

When attempting to leverage 0.11.1 the following filter the directory service with the relevant tag does not show up:

aws_workspaces_directory:
  - tags:
      NOT(Owner): bob@bobberson.com

The output indicates that tags may not be parsed properly as other resource types return the tag values underneath each id:

awsweeper --dry-run filter.yml --region us-gov-west-1
   • SHOWING RESOURCES THAT WOULD BE DELETED (DRY RUN)
	---
	Type: aws_workspaces_directory
	Found: 3
		Id:		d-986735dc38
		Id:		d-9867374fe8
		Id:		d-986736710f
	---
   • TOTAL NUMBER OF RESOURCES THAT WOULD BE DELETED: 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions