Skip to content
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

Fix for list of lists of unknown computed values [GH-3679] #4180

Closed
wants to merge 1 commit into from
Closed

Fix for list of lists of unknown computed values [GH-3679] #4180

wants to merge 1 commit into from

Conversation

koendc
Copy link

@koendc koendc commented Dec 6, 2015

This fixes GH-3679.

Not sure if this is correct, but it fixes an issue with using computed list of attributes that is not yet known during the first terraform apply or plan.

Really not sure what is the impact of this on other parts of terraform though, so feedback is welcome!

Not sure if this is correct, but it fixes an issue with using computed
list of attributs that is not yet known during the first terraform apply
or plan.

This error typically appears:
Resource 'aws_network_interface.zk_eni_pool' does not have attribute
'private_ips' for variable
'aws_network_interface.zk_eni_pool.*.private_ips'
@phinze
Copy link
Contributor

phinze commented Apr 18, 2016

Hi @koendc - definitely appreciate the effort here! I think you are right that this could have a bunch of side effects. The fact of the matter is that the splat operator (*) does not directly support collecting list attributes just yet - its only defined behavior is for collecting resources with count.

Will reflect that in the upstream issue so the current status is more clear. In order to fully support this we'd really need to revisit the behavior of the splat operator and support it first class. With list and map support landing in 0.7 - we'll be in a much better spot for exploring this. 👍

@phinze phinze closed this Apr 18, 2016
@ghost
Copy link

ghost commented Apr 26, 2020

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 ghost locked and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to access list of "list of computed values" before terraform has run.
4 participants