BetterStackHQ / terraform-provider-better-uptime

Apache License 2.0
45 stars 12 forks source link

Support for extracting title information from an incoming web hook using Terraform #108

Open peter-hippo opened 3 days ago

peter-hippo commented 3 days ago

I noticed that it's possible to extract information from an incoming web hook to update the title of the created incident. This is really great since it will make it more clear what caused the trigger. But I could not find it inside the Terraform provider documentation, that is how to configure this setting using code. While browsing the API documentation here https://betterstack.com/docs/uptime/api/incoming-webhooks-response-params I also could not find it.

Screenshot 2024-07-05 at 11 11 28

It would be great if this was also supported by the Terraform provider or at least provided in the API docs so I could implement a PR for this feature!

:rocket:

PetrHeinz commented 3 days ago

Hello @peter-hippo, thanks for reporting this! 🙌

I've added the support in both API and Terraform into our roadmap. In the meantime, you should be able to add the title extraction in the GUI at least, and subsequent API updates should not affect it.

peter-hippo commented 3 days ago

Thanks @PetrHeinz , appreciate it! 👏