perhaps a silly question here - but looking at the...
# general
b
perhaps a silly question here - but looking at the
providers
option to component resources - does it automatically supply the correct provider to the correct resource, i.e. if i send
Copy code
{
  kubernetes: kubernetes-provider,
  azure: azure-instance-provider
}
Will the azure provider be used when I perform a
new <http://azure-native.XYZ|azure-native.XYZ>
inside the component resource? Really.. what I'm wondering is.. how do I know what the /name/ of the provider actually is? in this case - is it azure? or azure-native?
b
There is docs on providing providers to component resources like that: https://www.pulumi.com/docs/intro/concepts/resources/#inheriting-resource-providers As for naming, I believe it should be the same name as the plugin
b
Yup - that's what I read - and really didn't see what value the string would match - is it
azure
or is it
azure-native
? and would
kubernetes
provider be used even when using
kubernetesx
provider rather than kubernetes provider? it's a bit unclear on that topic 😄