This message was deleted.
# general
b
This message was deleted.
l
Hi @boundless-byte-95730 you can run with
--log-level=debug
to get debug logs
b
@little-author-61621 https://github.com/cloudquery/cq-provider-aws/pull/1312 - here is a pr that crashes
l
Awesome, thanks! So it still happens if you comment out the
aws_glue_job
resource?
b
I tried to remove all the glue from current deployment but I think there are some glue resources already deployed
l
ok let me dive in a little more and see if I can work out more
@boundless-byte-95730 trying to reproduce this - where are you writing the
/tmp/infracost.yml
file?
l
@boundless-byte-95730 Is there anywhere you’re setting
max_capacity
or
number_of_workers
for the glue jobs?
b
no
l
@boundless-byte-95730 hopefully found a fix and updated the issue with a way to test it if that’s possible: https://github.com/infracost/infracost/issues/1922#issuecomment-1197972580
b
thanks. I will try
🙏 1
should I set apikey there somehow?
w
I’m probably missing something but the API key is set in step 3 of the GH Action, the CLI uses that env var
b
yeah and it is also passed to infracost setup job via
api-key
parameter. But since
infracost/actions/setup@v2
is replaced with
curl
command I was wondering how should I pass api-key, or should I at all.
l
It’s this line here:
Copy code
/tmp/infracost configure set api_key ${{ secrets.INFRACOST_API_KEY }}
after the
chmod
line
b
oh. I didn't press
show more
and saw only part of the code 😅 now I see
l
Ah, damn Slack!
b
thanks.
If I understand everything above correctly
/tmp/
should be in PATH to make me able to run infracorst in next step. Right? Or
infracost configure
adds directory to the PATH?
l
Normally I just update all
infracost
lines to
/tmp/infracost
b
I see
@little-author-61621 Hello. It seems that there is no more
division by 0
errors. thanks
l
Awesome! Thanks for helping test it. The fix should go out in v0.10.9 next week.