This message was deleted.
# general
b
This message was deleted.
c
You don’t need to put project/paths in the config if you have --path defined. The new behavior is that it searches for any
terragrunt.hcl/.json
in any directory under
--path
(up to 5 levels deep). If it finds one we call
terragrunt run-all terragrunt-info
to get all the project paths.
r
Ok thanks! I’m still banging my head trying to get this going in github actions but it’s entirely a GH action problem. They’re frustrating compared to gitlab, etc.
👍 1
c
Let me know if I can help. I’m happy to bang my head too 😁
r
Github is complaining about hostkey mistmatch pulling my modules repo, I’ve got a deployed (/staging /lab /prod) terragrunt repo full of HCL that call another repo for the actual modules.. feel like I’m getting there
They cause a ton of drama needing personal access tokens because the runners can’t access the org repos unlike every other CI out there
w
@refined-glass-2474 in case it helps, we added GIT_SSH_KEY into the CI/CD integrations a while ago so TF modules in private repos could be cloned, here’s what we do with that env variable.
r
Thanks! Yeah it seems like I have to go the key generation route, that gets me to a ssh-key hostgen error to github but I can plug that in. One problem I’m also having is the root github action ya’ll have still defaults to 0.15.5, there’s an 1.0.1 in there IIRC but for some reason my terraform install GH action either never worked or is somehow getting skipped over and the infracost-gh-actions 0.15.5 default is getting used.. really frustrated with GH actions, this would be done in 10 minutes w/gitlab
w
@refined-glass-2474 did you try setting
INFRACOST_TERRAFORM_BINARY=terraform_1.0
in the GH action? (mentioned in this section)
r
Ah I tried “=1.0.1” thanks I’ll try that
w
I’ll check our Dockerfile to see if/how we can have that as an alias so it works too for the next user 😅
r
I think it was just a var at the top line of that block, I’d do a PR but I’ll probably be spending all day working on gh actions again
w
Thanks - yep that was inspired from Atlantis’ dockerfile
r
What am I missing here?
Copy code
Running infracost breakdown using:
  $ infracost breakdown --no-color --format json --config-file infracost.yml
Show full breakdown of costs

USAGE
  infracost breakdown [flags]
w
can you please set the env
INFRACOST_LOG_LEVEL=debug
in the GH Action? It might tell us more. Also, can we possibly see what’s inside infracost.yml? feel free to DM me if you prefer not to share it publicly