https://pulumi.com logo
Title
n

nice-application-79035

05/05/2023, 5:52 PM
Hello Team, is it possible to add cors rule on Azure storage account itself (so that it applies to all the resources present under the storage account) rather than setting cors rule for each storage service like blobs, tables and queues?
l

little-library-54601

05/05/2023, 5:56 PM
You mean something other than "BlobServiceProperties" and its "Cors" property?
n

nice-application-79035

05/05/2023, 6:05 PM
yes! like blob has "BlobServiceProperties", table has "TableServiceProperties" and queue has "QueueServiceProperties" for adding cors rules. Instead of adding cors on service level, does azure-native.storage have some method available to apply the cors on storage account level itself?
l

little-library-54601

05/05/2023, 6:07 PM
If it doesn't expose something like that in the azure portal, my guess would be no. But I don't know for sure.
n

nice-application-79035

05/05/2023, 6:10 PM
It's present in azure portal to add cors on the storage account level
l

little-library-54601

05/05/2023, 6:14 PM
But it looks like it's still based on a service - notice that "Blob service" is currently selected, and the other 3 are alongside it.
n

nice-application-79035

05/05/2023, 6:16 PM
You're right! Thank you for pointing it out.