Hello, I have self-hosted the cloud-pricing-API, w...
# help
s
Hello, I have self-hosted the cloud-pricing-API, we have a bot written in Go which basically is responsible for the tf plan and apply. So I was looking to invoke the API from there. I am only able to find CLI integration for it in Docs. Is there a way we can use the infracost go library and use the self-hosted api-key which is different from using through cli.
m
Hi @straight-cat-63864, we currently do not support a go sdk for Infracost. I recommend following this issue https://github.com/infracost/infracost/issues/1685 for future updates on the sdk
s
So, anyhow I have to use "infracost breakdown --path plan.json" only?