You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
This is one of the things #11704 aimed to address. Although that wasn't able to land in its current state it is still something I plan to address in future, though likely to be considered as part of a more holistic plan to fix some wrinkles in the design of Terraform's interpolation language.
apparentlymart
changed the title
Cannot index into a dynamic list
Cannot index into a list returned by a function in interpolation expressions
Apr 5, 2017
That "holistic plan" I mentioned has now resulted in a new implementation of the configuration language in master, ready to be included in the forthcoming v0.12.0 release.
I tested the configuration you gave with the v0.12.0-alpha2 prerelease build, and it seems to indeed be working as expected:
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.
ghost
locked and limited conversation to collaborators
Mar 31, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v0.7.8
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
I should be able to get an item from a dynamically generated list
Actual Behavior
Error loading Terraform: Error loading config: Error loading /Users/mconway/workspace/terraform-test/lists/main.tf: Error reading config for output out2: parse error: syntax error
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Nope, pretty simple example
References
N/A
The text was updated successfully, but these errors were encountered: