https://pulumi.com logo
#general
Title
# general
a

astonishing-quill-88807

09/09/2022, 3:30 PM
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

millions-furniture-75402

09/09/2022, 4:27 PM
look for the urns in the stack's state
a

astonishing-quill-88807

09/09/2022, 4:33 PM
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
2 Views