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

"list" function was deprecated in Terraform v0.12 #1164

Closed
TjeuKayim opened this issue Dec 29, 2020 · 4 comments · Fixed by #1165
Closed

"list" function was deprecated in Terraform v0.12 #1164

TjeuKayim opened this issue Dec 29, 2020 · 4 comments · Fixed by #1165

Comments

@TjeuKayim
Copy link
Contributor

This module doesn't work with Terraform v0.15.0-dev build from source (commit c0e37a7ea1928918a9efc02290ecd241d396d3a6)

Error: Error in function call

  on .terraform/modules/eks/outputs.tf line 3, in output "cluster_id":
   3:   value       = element(concat(aws_eks_cluster.this.*.id, list("")), 0)

Call to function "list" failed: the "list" function was deprecated in
Terraform v0.12 and is no longer available; use tolist([ ... ]) syntax to
write a literal list.

value = element(concat(aws_eks_cluster.this.*.id, list("")), 0)

@stale
Copy link

stale bot commented Mar 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 29, 2021
@jtgorny
Copy link

jtgorny commented Apr 15, 2021

Too bad this comment wasn't found before the stable release yesterday. Looks like lots of people, myself included are having the same issue. Hopefully the solution gets merged in quick. #1165

@antonbabenko
Copy link
Member

Terraform 0.15 is supported in version v15.0.0 that has been just released.

For the previous version of Terraform please use this module version ~> 14.0.

Let us know if there are any issues with this release.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants