Join Slack
Powered by
It looks like changing from default provider to ex...
# general
r
rich-whale-93740
09/01/2023, 6:36 PM
It looks like changing from default provider to explicit provider requires us to re-create the resources. Is there a way to do a replace instead of re-create?
b
billowy-army-68599
09/01/2023, 6:39 PM
yes, you can alias the provider
https://www.pulumi.com/docs/concepts/options/aliases/
https://github.com/jaxxstorm/pulumi-examples/blob/206b6d29cfabbeca01f8870fd5143b3836a78760/typescript/databricks/explicit_provider/index.ts#L11
r
rich-whale-93740
09/01/2023, 8:14 PM
Nice - thanks
rich-whale-93740
09/05/2023, 4:53 PM
@billowy-army-68599
Instead of
alias
, does Pulumi support manually replace the provider for each resource?
b
billowy-army-68599
09/05/2023, 4:55 PM
alias is the canonical way, you can modify the state if you’d like
Open in Slack
Previous
Next