hi all, I'm trying to run infracost against a test...
# help
w
hi all, I'm trying to run infracost against a test terraform repo I have locally. I'm having issues getting an api key. The url referenced in the help docs doesn't list a key and the login option is redirecting to localhost. I'm trying to run via docker.
c
Hi you can sign up for an account on the Infracost Cloud site. Once you’re logged in navigate to the
Org Settings
page (rightmost button in the top nav). On that page you will be able to copy your API Key. You can then pass that into docker as an environment variable name
INFRACOST_API_KEY
and the infracost cli will use that make requests.