https://pulumi.com logo
#general
Title
# general
r

rapid-lamp-57703

03/16/2020, 10:01 AM
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

tall-librarian-49374

03/16/2020, 10:05 AM
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

rapid-lamp-57703

03/16/2020, 10:47 AM
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

tall-librarian-49374

03/16/2020, 11:58 AM
There’s a working example in this PR https://github.com/pulumi/examples/pull/603
r

rapid-lamp-57703

03/16/2020, 12:29 PM
ok - thank you - that static upload work, i'll take alook at the other examples you have done.