terraform-provider-pagerduty
terraform-provider-pagerduty copied to clipboard
Feature Request: Add a data source for a existing response play
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
1.1.5
Affected Resource(s)
n/a
Terraform Configuration Files
The expected way of referencing this would be:
data "pagerduty_response_play" "example" {
name = "My Response Play,"
}
Debug Output
n/a, data source doesn't exist.
Panic Output
n/a
Expected Behavior
It should be possible to get PagerDutyID for an existing response play, as some features (e.g. create a Zoom meeting?), can't be configured in Terraform.
Actual Behavior
I can't get the reference for an existing response play and then assign it to a service via Terraform.
Steps to Reproduce
n/a
Important Factoids
- It's possible to list all response-plays via: https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2NQ-list-response-plays
References
- Adding support to response play's for a service has been requested in #400
I'm happy to work on this, as we want to automate setting up response plays on services via Terraform.