terraform-aws-eks icon indicating copy to clipboard operation
terraform-aws-eks copied to clipboard

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

Open uniuuu opened this issue 2 years ago • 0 comments

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.

uniuuu avatar Feb 06 '23 12:02 uniuuu