cuddly-analyst-30573
01/26/2023, 3:54 PMinfracost configure set api_key/pricing_api_endpoint
and infracost auth login
as the CLI? Noticed it stays logged in if I uninstall it.
(It doesn't seem to require the Infracost CLI to be installed in advance, so maybe it gets installed, anyway!)
Just want to make sure the extension is connected to my self-hosted Infracost Cloud Pricing API instead of Infracost Cloud.white-airport-8778
infracost configure
commands you pasted above - if that doesn’t work as the binary is not in the path, they can set the env vars.
One way to confirm that your own vscode extension is using your self-hosted API key is to goto Infracost Cloud > Org Settings > Regenerate API key so your laptop doesn’t have the new key. But if you do that, you should also update the INFRACOST_API_KEY env var for your self-hosted Cloud Pricing API so it can continue to download the pricing dumps in its k8s/docker cron job.