https://infracost.io logo
Title
b

boundless-london-92014

10/06/2022, 9:14 AM
Hello 🙂 I keep running into the following error:
2022-10-06T08:59:59.1441536Z Error: Failed to parse the Terragrunt code using the Terragrunt library:
2022-10-06T08:59:59.1442071Z 2 errors occurred:
2022-10-06T08:59:59.1442563Z 	* invalid character ',' looking for beginning of value
2022-10-06T08:59:59.1443145Z 	* invalid character ',' looking for beginning of value
i couldn't find anything posted about it previously on the channel and seems like the one github issue raised about this was never solved: https://github.com/infracost/infracost/issues/1947 this error shows up both with multiple and single directory usage. Would love to hear some tips about how to go around this 🙂
b

busy-agent-35515

10/06/2022, 9:53 AM
Hello! Unfortunately this issue is not fixed yet. Have you tried to run Infracost with Terragrunt binary using
--terraform-force-cli
flag?
b

boundless-london-92014

10/06/2022, 10:18 AM
Hi Vadim, --terraform-force-cli did the trick 🙂 probably needs further testing but the main blocker is solved 😄
b

busy-agent-35515

10/06/2022, 10:19 AM
Great to hear 🙂