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

Adding in statuscake_contact_group data source any other required parameter for querying dynamically contact groups #109

Open
Pancarte opened this issue Jan 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Pancarte
Copy link

Is your feature request related to a problem? Please describe.
As part of a project, I would like to retrieve contact_groups dynamically instead of hardcoding contact_group_id in status_cake resources.

Describe the solution you'd like
I would therefore like to be able to create a data source statuscake_contact_group by having a required parameter: name or any other parameter allowing me to retrieve my data groups dynamically.

@tomasbasham
Copy link
Member

Thank you for the feedback. We will look into this for a future release. Currently contact group names are not unique within an account so this data source would potentially return more than one resource and would therefore always need to return a list - even if there is only one. Do you think a solution along these lines would pose an issue for your configuration?

@tomasbasham tomasbasham added the enhancement New feature or request label Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants