terraform-provider-statuscake
terraform-provider-statuscake copied to clipboard
Adding in statuscake_contact_group data source any other required parameter for querying dynamically contact groups
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.
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?