Hi all, I am looking at simple pulumi c#/azure - w...
# general
r
Hi all, I am looking at simple pulumi c#/azure - want to enable static website for a deployed storage account. I see that the 'Account' type has a StaticWebsite property which accepts (somehow the index/error page) - but i found an example online that say you can't set the static page this way. any tips? if you can't set here, why is it exposed?
t
You can (althrough the error page property doesn’t work due to https://github.com/pulumi/pulumi-terraform-bridge/issues/127). Native support for static sites is very new, so examples online saying you can’t are outdated.
There will be a blog post later today explaining this
r
Ah ok, trying to find something simple to get started on as I PoC this for my work but I am struggling at every turn to get even something basic to work.. let along more advance scenarios
The frustrating thing is drew up a list of things to demonstrate using pulumi and static website, and document upload to storage account were like 1 and 2 on that list respectively and I can't get it to work 😞
t
There’s a working example in this PR https://github.com/pulumi/examples/pull/603
r
ok - thank you - that static upload work, i'll take alook at the other examples you have done.