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

→ Plan ✘ Couldn't Generate Local Execution Plan Error: Error in function call #57

Open
uniuuu opened this issue Feb 6, 2023 · 0 comments

Comments

@uniuuu
Copy link

uniuuu commented Feb 6, 2023

Hi @WesleyCharlesBlake

terraform plan fails:


→ Plan
  ✘ Couldn't Generate Local Execution Plan

Error: Error in function call

  on .terraform/modules/vpc/outputs.tf line 353, in output "vpc_endpoint_sqs_id":
 353:   value       = "${element(concat(aws_vpc_endpoint.sqs.*.id, list("")), 0)}"
    ├────────────────
    │ while calling list(vals...)

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.

Error: Error in function call

  on .terraform/modules/vpc/outputs.tf line 488, in output "vpc_endpoint_ecs_id":
 488:   value       = "${element(concat(aws_vpc_endpoint.ecs.*.id, list("")), 0)}"
    ├────────────────
    │ while calling list(vals...)

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.

Error: Error in function call

  on .terraform/modules/vpc/outputs.tf line 503, in output "vpc_endpoint_ecs_agent_id":
 503:   value       = "${element(concat(aws_vpc_endpoint.ecs_agent.*.id, list("")), 0)}"
    ├────────────────
    │ while calling list(vals...)

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.

Error: Error in function call

  on .terraform/modules/vpc/outputs.tf line 518, in output "vpc_endpoint_ecs_telemetry_id":
 518:   value       = "${element(concat(aws_vpc_endpoint.ecs_telemetry.*.id, list("")), 0)}"
    ├────────────────
    │ while calling list(vals...)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant