Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New]: data source plural of sns topic: aws_sns_topics #39668

Open
nitrocode opened this issue Oct 10, 2024 · 1 comment
Open

[New]: data source plural of sns topic: aws_sns_topics #39668

nitrocode opened this issue Oct 10, 2024 · 1 comment
Labels
new-data-source Introduces a new data source. service/sns Issues and PRs that pertain to the sns service.

Comments

@nitrocode
Copy link
Contributor

Description

Similar to aws_iam_roles which is a plural of aws_iam_role, it would be nice to have the plural of aws_sns_topic as aws_sns_topics so I can take advantage of the name_regex field

The root issue is that SNS topics generated from cloudformation stacks have randomized suffixes and it would be nice to grab these automatically using a data source in terraform when the SNS topic needs to be reused.

Requested Resource(s) and/or Data Source(s)

  • aws_sns_topics

Potential Terraform Configuration

data "aws_sns_topics" "example" {
  name_regex = "an_example_topic.*"
}

References

Would you like to implement a fix?

None

Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added service/sns Issues and PRs that pertain to the sns service. needs-triage Waiting for first response or review from a maintainer. labels Oct 10, 2024
@justinretzolk justinretzolk added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-data-source Introduces a new data source. service/sns Issues and PRs that pertain to the sns service.
Projects
None yet
Development

No branches or pull requests

2 participants