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

bulky-policeman-29913

06/13/2023, 8:24 PM
Anyone know if it’s possible to create a stored access policy on a blob container? I can’t seem to find it in the azure native provider and the AI is referring to a BlobServiceProperties that doesn’t exist?
l

little-library-54601

06/14/2023, 1:09 PM
There is a BlobServiceProperties. See this thread (though it's not related to a stored access policy): https://pulumi-community.slack.com/archives/C84L4E3N1/p1683309120142959
b

bulky-policeman-29913

06/14/2023, 1:48 PM
That’s the problem though that object doesn’t have the Stored access policy property in it
l

little-library-54601

06/14/2023, 2:01 PM
Ah. I misread your original post.
b

bulky-policeman-29913

06/14/2023, 2:01 PM
All good appreciate you trying to help
e

elegant-carpet-82808

06/14/2023, 5:01 PM
As of 6 months ago it wasn’t directly supported. At Swiftly we ended up implementing our own dynamic provider using the Azure SDK to handle it.
It wasn’t super difficult between https://www.pulumi.com/docs/concepts/resources/dynamic-providers/ and the Azure docs, but it was still annoying and awkward.
b

bulky-policeman-29913

06/14/2023, 5:03 PM
Thx I came to that conclusion too after pulumi ai invented three sdk packages that didn’t exist lol
e

elegant-carpet-82808

06/14/2023, 5:05 PM
Unfortunately it’s in one of those Azure edge cases wherein while it’s supported by the Azure Storage apis, it’s not directly supported in the Azure Resource Manager api that Pulumi shadows and thus wasn’t on the roadmap to ever be supported.
That may have changed though, hopefully a pulumipus 8bitwill pop in and give better news.
b

bulky-policeman-29913

06/14/2023, 5:07 PM
Thx @elegant-carpet-82808