https://pulumi.com logo
Title
g

gentle-librarian-84908

04/06/2023, 4:43 PM
What is the best approach to moving resources to another subscription? Currently, all of our Azure resources are deployed in a single subscription, with multiple stacks that have interdependencies through their use of outputs. However, we've found it challenging to manage these resources effectively, and are planning to transition to an approach that leverages Azure Landing Zones with multiple subscriptions. To achieve this, we're exploring options to move our Pulumi-managed resources to a different subscription. While Azure offers its own resource mover, we've encountered issues with updating the subscriptionId configuration field: the refresh and up commands don't recognize the changes. We're looking for guidance or documentation to help us make the move to a new subscription with minimal downtime. Can you recommend any resources or best practices to help us achieve this?
b

bored-activity-40468

04/10/2023, 3:17 PM
Are you using explicit providers? They can help with those subscription issues imo. https://www.pulumi.com/docs/intro/concepts/resources/providers/#explicit-provider-configuration
g

gentle-librarian-84908

04/10/2023, 4:59 PM
No... we are use implicit providers. I will take a look, because with implicit providers any config changes don't trigger a state change but with explicit they can work... Thank you