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

SNSTopic resource cannot be filtered #504

Closed
dvvinco opened this issue May 15, 2020 · 3 comments
Closed

SNSTopic resource cannot be filtered #504

dvvinco opened this issue May 15, 2020 · 3 comments

Comments

@dvvinco
Copy link

dvvinco commented May 15, 2020

Hi,

we face an issue trying to filter SNS-Topics. When I look at the code of the SNSTopic resource it expects an ID. This ID will be set as the TopicARN so I assume passing the ARN of the SNS-Topic should be the way to go.
Unfortunately it is not working. The resource is still flagged as "would be removed".

Any idea what could be the issue or does someone has a working example how to filter SNS-Topics?

Regards

@svenwltr
Copy link
Member

Hello @FlokiOo.

Sorry for the late response. SNS-Topics are a bit tricky, because it has an inconvenient naming pattern for its ID. All IDs are actually prefixed with TopicARN: , so you have to add this to your IDs.

This is unfortunate, but we cannot change this without breaking other peoples config.

@dvvinco
Copy link
Author

dvvinco commented May 25, 2020

Thx for the reply. We will give it a try.

@der-eismann
Copy link
Member

SNS topics can now also be filtered by tags or their pure ID as properties when you pull latest (merged in #592).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants