I am trying to use an aliased provider within a submodule. I have the proxy config block setup in my sub module and in the root I have the aliased provider which I am passing into the module’s providers config.
However this does not seem to work as I would expect. It seems like terraform is seeing the proxy config in the module as a “real” provider so it never picks up the subscription_id I am setting in root module.
I wonder if this is because azurerm has to have the feature config in the provider? Is there anyway to make this work. I can get it to work by adding the subscription_id to the sub module provider config thus making it a real provider but this is deprecated isn’t it so would rather get it to work the proper way.