I have troubles get Pulumi maintain the resources ...
# getting-started
r
I have troubles get Pulumi maintain the resources in the proper Azure subscription. Even when I specify it in the dev.yaml, it still goes to another subscription...
Maybe I have to delete the project in Pulumi and start from scratch...
Aha, the other subscription is in the metadata. Apparently, I was connected to it when I created the stack. At least, that's my two cents....
l
@rhythmic-kangaroo-93098 are you using the Azure Native provider? If so, the config item for your subscription ID should also be prefixed with
azure-native
instead of
azure
(which is for our Azure classic provider)
r
That makes sense. I'll change that. I assume that I need to recreate the stack?
l
Yes, make sure you first
pulumi destroy
for any resources created in the wrong subscription, then fix the subscription id and run
pulumi up
r
Yes! That worked. Thx
So it is important to define this subscription right away, before doing the first preview.