We are currently trying to migrate existing stacks...
# general
b
We are currently trying to migrate existing stacks from snowflakes old user type to the new service_user type (https://www.pulumi.com/registry/packages/snowflake/api-docs/serviceuser/). I am struggling to find a decent approach on how to achieve a clean migration. The user that we want to migrate is at the same time utilized in the provider specification for some other objects which can not be deleted and recreated. Does anyone have a proposal on how we should handle this migration?
a
i'm assuming the underlying user itself isn't changing, but you want to bind it to a different wrapper in pulumi. if that's the case i might try to delete the resource directly from the state, and then import it with the new pulumi definition.