You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. Yes - actually this should be a set of strings as an installation ID can be eg. 01234. I am gonna provide a fix for this later today.
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 text was updated successfully, but these errors were encountered: