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
Hi @pratik141,
Thanks a lot for bringing up the issue. I am PM on this and would love to get more details on this - what steps or custom configuration might have been set. Can you help with more information on this?
Initializing the backend...
Initializing modules...
name in mod
╷
│ Error: Module is incompatible with count, for_each, and depends_on
│
│ on main.tf line 4, in module "name":
│ 4: for_each = toset(["asd", "sdds"])
│
│ The module at module.name is a legacy module which contains its own local provider configurations, and so calls to it may not use the count, for_each, or depends_on arguments.
│
│ If you also control the module "./mod", consider updating this module to instead expect provider configurations to be passed by its caller.
╵
$ terraform plan
│ Error: Module module.name contains provider configuration
│
│ Providers cannot be configured within modules using count, for_each or depends_on
The text was updated successfully, but these errors were encountered: