Hi folks, I getting this error. Anyone knows why? ...
# help
f
Hi folks, I getting this error. Anyone knows why? It's very similar to the error I get after executing infracost cli sometimes.
I'm using terragrunt
l
@full-planet-90153 for env variables you’ll need to specify the value for Infracost to know it. You can do this by either: 1. Setting it globally for the GitHub integration: Org Settings > Integrations > GitHub > Next > Do you need additional environment variables? 2. Adding a config file for the repo that contains the env value: Visibility > Repos > repo > Settings > Config file. And then adding a config file that looks like this:
Copy code
version: 0.1
projects:
 - path: .
   env:
     TF_VAR_instance: my-instance
More info on config files is here: https://www.infracost.io/docs/features/config_file/