-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Error with plan:" for (nearly) all modules #397
Comments
I forgot to add that everything seems to actually work OK, ie. this is a false positive error. |
Any chance you could post more of the output to help debug? |
There's not a lot to see - just the regular tg/tf output, which is why I want to build a modified version with additional debugging output in |
I've added some debugging statements:
and am seeing output like this:
It looks to me like there's an error in the logic somewhere. |
This is terraform v0.11.1, btw. |
I don't see any error there? Terraform may use |
That's the whole point of this issue - terragrunt is detecting a false positive and writing:
|
Ohhh, I gotcha. I'm guessing Terraform 0.11 changed its behavior in terms of what it writes to |
Seeing the same issue:
Directory names altered for modesty:
Line numbers added below to the console output for reference. Note line (4):
If I execute the singular version of a command (ex: Another observation is that line (4) seems to have two log entries. The |
I am seeing this as well. Can this get looked at. looks like a issue from 2017. its 2020... |
I'm observing this as well. There are no errors in my output but the final message indicates there are errors
There are no ERRORS, Errors, errors, or eRRors, in the output of my plan above that final message. |
did anyone figured out what may be the issue here, I'm seeing same problem now
|
This is a known issue with the error reporting of terragrunt. There is an open PR that attempts to fix this, but has not received any updates: #722 . |
Having the same issue. |
I'm facing the same issue too |
@ahmad-hamade , try running each module singly. You might get a more descriptive error that can be easy to fix. Did it this way and it helped. |
@kaka-ruto I tried this already and never got this error. |
Also receiving this error/false positive, where going into individual modules report no errors with the plan, but trying to do an |
Mine may not be a comprehensive answer and I do wish I was skilled enough to improve the error message this awesome tool provides. What I managed to do, was to run a single module, then follow my logs line by line and see at which point the process was failing. At most times it was a syntax error or I was using an AWS region for a service that isn't supported in that region yet. At other times it was that I needed to run another module first (dependencies), before running the current module. It was a little trial and error but yeah, hope it helps somewhere. |
@robinbowes @kaka-ruto @tokiwong @lukasz-kaniowski @JoshuaSeidel , I presume this PR should have resolved this issue. |
@alexkayabula's PR in #1229 was released in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.23.28. That hopefully fixes this issue. Try it out and let us know! |
@brikis98 lgtm, thanks! |
Can't test it now, but so happy this issue was addressed :) Finally no need to explain everybody new to Terragrunt it's a feature ;) |
I have a tree of 89 terragrunt configurations, ie. (
terraform.tfvars
) files and I'm seeing terragrunt report errors like this for 86/89 of them:I suspect this is actually two separate lines of output, ie. the two strings that start with
[terragrunt]
. The first instance comes from line 65 of configstack/stack.go.I'd do some debugging, etc. but I can't figure out how to build terragrunt locally? (I'll raise another ticket for that).
The text was updated successfully, but these errors were encountered: