https://pulumi.com logo
Title
p

proud-dusk-33872

12/13/2021, 10:28 PM
Is changing a storage account kind from Storage to StorageV2 a supported operation?
b

billowy-army-68599

12/13/2021, 11:00 PM
it depends on Azure. That strikes me as an immutable API call on the Azure side, so it would need you to do a create/destroy I think
p

proud-dusk-33872

12/13/2021, 11:29 PM
It's something that Azure supports inplace (with no downtime) via the portal. I might check the underlying rest apis to see if they support it
how does the pulumi/azure codegen decide whether it's a supported scenario?
Looks like the rest api does support it:
kind
Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server.
b

billowy-army-68599

12/13/2021, 11:32 PM
If its supported via the api, it should be supported in azure native