Error: Invalid index

From wikieduonline
Revision as of 07:38, 22 December 2022 by Ant (talk | contribs)
Jump to navigation Jump to search
╷
│ Error: Invalid index
│
│   on variables.tf line 91, in resource "aws_lb_target_group" "this":
│   91:     for_each = lookup(var.lb_target_group[count.index], "health_check", null)
│     ├────────────────
│     │ count.index is 14
│     │ var.lb_target_group is "lb_target_group_your_name"
│
│ This value does not have any indices.
╵


on .terraform/modules/eks/data.tf

See also

Advertising: