Not sure if bug or feature request is more accurate, therefore i will file this as a feature request.
Currently it is not possible to use the vmseries module with for_each or count to create multiple similar VMs.
However i think this should be possible since in most deployments at least at my customers we use load balancers and therefore want to easily increasre/decrease the number of VMs.
This seems to be related to the provider configuration beeing present in the module according to the error message:
The module at module.vmseries 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.
I am wondering - is there anything that the provider configuration is needed for in the module, since its basically empty?
Describe the solution you'd like
Remove the provider configuration from the module.
Is your feature request related to a problem?
Not sure if bug or feature request is more accurate, therefore i will file this as a feature request. Currently it is not possible to use the vmseries module with for_each or count to create multiple similar VMs. However i think this should be possible since in most deployments at least at my customers we use load balancers and therefore want to easily increasre/decrease the number of VMs. This seems to be related to the provider configuration beeing present in the module according to the error message:
The module at module.vmseries 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.
I am wondering - is there anything that the provider configuration is needed for in the module, since its basically empty?
Describe the solution you'd like
Remove the provider configuration from the module.