-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
I'm not entirely sure here why a set would be preferred over a numbered list, but with this usage:
app_installations = [ var.some_number ]
Produces:
The given "for_each" argument value is unsuitable: "for_each" supports maps
and sets of strings, but you have provided a set containing type number.
Error: Invalid for_each set argument
on .terraform/modules/terraform_github_modules/main.tf line 505, in resource "github_app_installation_repository" "app_installation_repository":
505: for_each = var.app_installations
├────────────────
│ var.app_installations is set of number with 1 element
Metadata
Metadata
Assignees
Labels
No labels