pulumiservice:index:Webhook fails with 401 API error: Unauthorized: No credentials provided or are invalid. #160
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/no-repro
This issue wasn't able to be reproduced
What happened?
I want to send a slack notification when running pulumi.
The webhook works fine with below curl:
${SLACK_WEBHOOK_URL}
is set within gitlab CI variables..gitlab-ci.yml
pulumi.yaml - I removed all other resources deployed.
Expected Behavior
Pulumi should send a slack notification when running pulumi preview acording to the docs: https://www.pulumi.com/registry/packages/pulumiservice/api-docs/webhook/ and https://www.pulumi.com/blog/slack-integration/
Steps to reproduce
create above pulumi.yaml with correct variables and run pulumi preview.
Output of
pulumi about
Additional context
Also, from the docs this should be triggered when running pulumi preview. This doesn't seem to be the case.
There is a filter for preview in the docs: https://www.pulumi.com/registry/packages/pulumiservice/api-docs/webhook/
"preview_succeeded" - Trigger a webhook when a stack preview succeeds.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: