This message was deleted.
# general
b
This message was deleted.
l
Are you wanting to run it non-interactively, e.g pass name and email as flags?
v
yes. If that support not supported by infracost then can we create a task of supporting name and email by flags while executing register command?
l
It's not supported yet, but something we can look at adding. Can I dig into the use case a bit more? How many API keys are you generating and where do you need to generate them?
v
I just need to generate one and and I m trying to execute installing and register infracost commands in shell script file which will be get executed through docker file
l
Is it okay for now to run it manually and pass the API key into the script using the INFRACOST_API_KEY env var? If not, I think there could be a way of doing it using
expect
.
v
@little-author-61621 I am not familiar with go lang but I tried something to support this flags stuff. Please review it once https://github.com/infracost/infracost/pull/822
I know checks are getting failed but please tell me what I am doing wrong
w
It feels like there are two steps here: a) register, which is subject to change based on things like single-sign-on. It might help if we can have a short call so I can understand the workflow to see how we can help with the automation of this (I’ll DM you my calendly link in case you’d like to do this). b) use infracost in automation, which is achieved by setting
INFRACOST_API_KEY
.