I get the error listed below. These local vars are not used at all and can be removed.
Error: Invalid index
on vpce.tf line 12, in locals:
12: subnet_ids_string = join(",", data.aws_subnet_ids.selected[0].ids)
|----------------
| data.aws_subnet_ids.selected is empty tuple
If I disable vpc endpoints
vpc_endpoints_enabled = false
I get the error listed below. These local vars are not used at all and can be removed.