Error: Invalid index

From wikieduonline
Revision as of 13:48, 20 October 2021 by Welcome (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.
╵


See also

Advertising: