terraform-provider-pagerduty
terraform-provider-pagerduty copied to clipboard
Feature request: Add data source for listing services
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.5.7 on darwin_arm64
Affected Resource(s)
n/a
Terraform Configuration Files
data "pagerduty_services" "all" {
query = ""
include = ["escalation_policies", "teams", "integrations", "auto_pause_notifications_parameters"]
}
Debug Output
n/a
Panic Output
n/a
Expected Behavior
Data source is populated with a list of all services using the API endpoint https://developer.pagerduty.com/api-reference/e960cca205c0f-list-services
I am planning on using this to generate an event orchestration router.
Actual Behavior
n/a
Steps to Reproduce
n/a
Important Factoids
n/a
References
n/a
I'd also like to see this. I have the exact same use case.