-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Expand operator not recognizing a locals' type #23536
Comments
Thanks for filing the issue @tul1, I was hoping it was the I created a simpler reproduction here that exhibits the same failure, and succeeds in the console as well:
|
I think I may be running into the same error here (If it's a different one, I'll be happy to fill a new issue). Running this code:
works just fine, but running
results in the same error:
As far as I can tell, the To be hones, I'm not completely sure wether I'm just blind as a bat, is the same bug, or a completely unrelated one, but since I'm getting the same error, I'd imagine it would at least be somewhat related. Sorry if this is unrelated and I have to open a new bug. |
I'd like to +1 this one. I've got a similar situation. Simpler even:
This gets me:
|
Hello! 🤖 This issue seems to be covering the same problem or request as #22404, so we're going to close it just to consolidate the discussion over there. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
v0.12.6
Terraform Configuration Files
Debug Output
Actual Behavior
Additional Context
When I run the command with terraform console it works well but when I do terraform apply a type error is raised.
The text was updated successfully, but these errors were encountered: