-
Notifications
You must be signed in to change notification settings - Fork 206
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 custom_headers to delivery_method in webhook_subscription resource #455
Conversation
Thanks for the PR @devops-rob!! I think this will be a great feature for the provider. However, when I run the test for the Webhook Subscription resource I get the following error. Could you address that? Thanks!
|
FYI, @devops-rob My PR to the underlying PD client library just got merged: heimweh/go-pagerduty#81 That should work, but there's one caveat that I mentioned in that PR above: |
Thanks @stmcallister and @smaeda-ks. The tests are now passing my end. Let me know what you see on your side if anything isn't working |
@devops-rob Can you also update the dependency to advance the commit hash?
That will update |
Co-authored-by: Shohei Maeda <11495867+smaeda-ks@users.noreply.github.com>
Co-authored-by: Shohei Maeda <11495867+smaeda-ks@users.noreply.github.com>
@devops-rob Thanks for updating this PR! I've left one last comment (suggestion) but otherwise this looks good to me :) |
Co-authored-by: Shohei Maeda <11495867+smaeda-ks@users.noreply.github.com>
Thanks for the combined effort on this everyone! And, sorry for the delay on me getting back to this. Any chance one of you could resolve the conflicts? Thanks! |
@devops-rob would you be able to fix the conflicts in this PR? |
Hey @stmcallister Sorry for the delay. The notification got lost in my jungle of an inbox. I've resolved all the conflicts now so should be good to go. Thanks for all you help on this @smaeda-ks too |
Hey @devops-rob! Thanks for fixing the conflicts! While giving this one more look I noticed you're naming the field |
Thanks @stmcallister I've updated the schema as per your comments. Acceptance tests for this resource are passing. Some tests are failing but not related to any resources I have worked on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the custom_header
field to the acceptance tests and found a few issues 😅 . I've addressed those, add my commit, and will merge this to master. Thanks for adding this! 🎉 👍
This PR adds the ability to configure custom headers in the webhook_subscription resource.