https://pulumi.com logo
#dotnet
Title
# dotnet
b

breezy-salesmen-85534

07/02/2021, 1:30 PM
i came across https://www.pulumi.com/docs/reference/pkg/azure-native/storage/storageaccount/ as an example for creating storage account network rule sets. Unfortunately the virtual network does not exist when I create the storage account. Can I update a storage account , from a different stack, with a new network rule after the vnet and storage account are created?
One way of fixing this would be to instantiate a new
Copy code
AzureNative.Storage.StorageAccount
with a pulumi ID from a different stack. Can it be done?
.. or am I forced to create the Storage account, vnet and the rule all at once in one stack? 😡
t

tall-librarian-49374

07/02/2021, 2:31 PM
Unfortunately we don’t have a great answer for partial updates right now… I think there’s no issue tracking this particular scenario - could you please add one?
b

breezy-salesmen-85534

07/03/2021, 8:48 AM
Thank you for answering. I will fill out an issue on github next monday. (I prefer working with pulumi on weekdays).
🙏 1