infracost: Error: Failed to parse the Terragrunt code using the Terragrunt library:
Hello and thank you for this great tool. I have been using infracost with my cloud provider credentials and wanted to update to hcl paring for faster analysis. I am having a problem with CIDR blocks.
Here is the output for terragrunt output
on my vpc.
Note that I can successfully execute terragrunt plan
with the following config.
Here is my terragrunt config which causes infracost to throw the following error
* Recovering panic while parsing '/Users/denizgokcin/codes/fulfillment-api/terragrunt/app/qa/sg/rds/fulfillment/terragrunt.hcl'. Got error of type 'string': unknown type implementation
If I comment out the cidr block line, infracost works fine.
What might be the reason for hcl parsing to behave like this? Any help is appreciated!!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (12 by maintainers)
Thanks, @dgokcin; these changes are now live in the
v0.10.5
version of Infracost. I appreciate your help in getting this resolved. I’ve added your details to our swag roundup list, so keep your eyes peeled for an email in your inbox asking for more information on how we can send you 🧦 ! Thanks again@dgokcin great news! It should be out in the
0.10.4
release later in the week (tomorrow or thursday)Attaching the private subnet block. I also would like to note that this block was taken from here.