-
Notifications
You must be signed in to change notification settings - Fork 150
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
1.3.8 merge_dicts() 'IndexError: list index out of range' #428
Comments
Just noting part of simple debugging, probably note mainly to myself. Adding:
produces:
|
Thanks for submitting the issue. The problem might quickly be solved by adding the tail of the target list into the source list. However, I'm hesitating to add that without reproducing the issue. Could you try to make an anonymized plan or tf file that can be used to reproduce this error? I had trouble coming up with something that breaks. (You can also install #440 if you'd like to see if it fixes your problem right away) |
@Kudbettin Hi I just wanted to add that we've been having this issue with 1.3.8 and that #440 does fix the problem in our instance. |
Great! |
Just released Thanks for the issue 🎉 |
Description :
In version 1.3.8 I get error with the same config that works in 1.3.7
To Reproduce
Plan/Code cannot be shared, but it's a valid plan and can be terraform applied fine.
It fails on just first test applied (so doesn't depend on kind of test, but only can't read plan code properly - I used "-f" switch to run different tests), e.g. below test for kms fails with this error even that there is no kms objects in our terraform code:
Tested versions :
Additional context
Will try to provide example if I can strip corporate code that it doesn't contain sensitive information.
Probably all is needed is the answer to "# what if i not in source?" question from line 578 :)
The text was updated successfully, but these errors were encountered: