github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/transpiled_examples/azure-static-website-pp/azure-static-website.pp (about) 1 resource staticsitegroup "azure-native:resources:ResourceGroup" { 2 __logicalName = "staticsitegroup" 3 } 4 5 resource storageaccount "azure-native:storage:StorageAccount" { 6 __logicalName = "storageaccount" 7 resourceGroupName = staticsitegroup.name 8 kind = "StorageV2" 9 sku = { 10 name = "Standard_LRS" 11 } 12 } 13 14 resource staticwebsite "azure-native:storage:StorageAccountStaticWebsite" { 15 __logicalName = "staticwebsite" 16 resourceGroupName = staticsitegroup.name 17 accountName = storageaccount.name 18 indexDocument = "index.html" 19 error404Document = "404.html" 20 } 21 22 resource indexHtml "azure-native:storage:Blob" { 23 __logicalName = "index.html" 24 resourceGroupName = staticsitegroup.name 25 accountName = storageaccount.name 26 containerName = staticwebsite.containerName 27 contentType = "text/html" 28 type = "Block" 29 source = fileAsset("./www/index.html") 30 } 31 32 resource faviconPng "azure-native:storage:Blob" { 33 __logicalName = "favicon.png" 34 resourceGroupName = staticsitegroup.name 35 accountName = storageaccount.name 36 containerName = staticwebsite.containerName 37 contentType = "image/png" 38 type = "Block" 39 source = fileAsset("./www/favicon.png") 40 } 41 42 resource "404Html" "azure-native:storage:Blob" { 43 __logicalName = "404.html" 44 resourceGroupName = staticsitegroup.name 45 accountName = storageaccount.name 46 containerName = staticwebsite.containerName 47 contentType = "text/html" 48 type = "Block" 49 source = fileAsset("./www/404.html") 50 } 51 52 output endpoint { 53 __logicalName = "endpoint" 54 value = storageaccount.primaryEndpoints.web 55 }