02/25/2021, 6:01 AM
I had to change my Azure Subscriptions after building a stack. So logged in the azure CLI again, blew away the stack (
pulumi stack rm <value>
) However i get a message saying it's still trying to use the old subscription:
azure-nextgen:resources:ResourceGroup (resourceGroup): error: autorest/azure: Service returned an error. Status=<nil> Code="ReadOnlyDisabledSubscription" Message="The subscription is disabled and therefore marked as read only. You
cannot perform any write actions on this subscription until it is re-enabled."
Is there anywhere else the old subscription is cached?
SOLVED: use the az cli to set the default sub to use...