-
-
Notifications
You must be signed in to change notification settings - Fork 14
Webhooks
Kamil Mrzygłód edited this page Nov 8, 2023
·
1 revision
ACE allows you to send estimation result to a webhook of your choice. This mey help you in building your own traceability for infrastructure estimations.
Webhooks are available from version 1.3.
To configure a webhook, you need to use --webhook-url
parameter:
azure-cost-estimator <template-path>.json <subscription-id> <resource-group> --webhook-url "<your-webhook-url>".
Destination URL must be available to the machine running ACE. If provided endpoint requires authorization, you can leverage --webhook-authorization
option to send a key or token:
azure-cost-estimator <template-path>.json <subscription-id> <resource-group> --webhook-url "<your-webhook-url>" --webhook-authorization "Bearer ey..."
When available, ACE will send the value of that option in Authorization
header when calling webhook URL.