broad-zoo-34077
09/10/2021, 5:59 PMagreeable-twilight-86711
09/10/2021, 6:06 PMcmd/infracost/run.go
, updated the Config
struct in internal/config/config.go
, added an []*Config
to the ConfigFileSpec
struct in internal/config/config_file.go
and I know that doRequest
in internal/apiclient/client.go
is where I need to add in the TLS configuration for the API calls but I think there's some intermediate plumbing that I'm still trying to sort out.little-author-61621
[]*Config
to the ConfigFileSpec
struct?agreeable-twilight-86711
09/10/2021, 9:10 PMinfracost configure
) so you could specify them once in a local usage scenario rather than continuously flagging or setting environment variables.little-author-61621
ConfigFileSpec
is for a per-run config. I think this makes more sense as a global configuration, so we should add it to here. Initially, though I think just getting the env variables in is a great start.