Hi Team, if i use host Cloud Pricing API in self h...
# general
m
Hi Team, if i use host Cloud Pricing API in self hosted environment… • how frequency Cloud Pricing API to be updated ? • is there any configuration available to set auto update? • or any time window to automate? thank you in Advance
b
Hello! You can define your own schedule. For example, with docker-compose you can set up a cron job, see the list item 7 here https://github.com/infracost/cloud-pricing-api#docker-compose
CPAPI provides a task
npm run job:update
. You can run it manually, or use it with any type of automation (cron job above as example)