https://infracost.io logo
#help
Title
# help
s

straight-cat-63864

07/26/2023, 4:33 PM
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

mysterious-teacher-68276

07/26/2023, 4:43 PM
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

straight-cat-63864

07/27/2023, 12:41 PM
So, anyhow I have to use "infracost breakdown --path plan.json" only?
22 Views