If I want to create a custom provider of a given r...
# general
a
If I want to create a custom provider of a given resource type, how do I determine what the proper entry for
aliases
would be to migrate from the default provider instance?
m
look for the urns in the stack's state
a
I see the URN, but that's tied to a specific project and stack, where I'm trying to write a provider that is used across projects/stacks, so I'm hoping to just alias the
name
, which is unclear what that should be just looking at the URN
It looks like from a URN of
urn:pulumi:applications.<http://ocw_site.QA|ocw_site.QA>::ol-infrastructure-ocw-site-application::pulumi:providers:fastly::default_5_0_0
I would set the name to
pulumi.Alias(name="default_5_0_0")
? But that doesn't seem to be propagating, as the stack wants to replace the dependent resources