Feature Request: Allow setting Content-Type on azurerm_storage_blob
objects
#999
Labels
Milestone
azurerm_storage_blob
objects
#999
When creating blobs for serving static sites or content, setting the
Content-Type
property is important. The defaultoctet-stream
causes all files, evenindex.html
, to download in the browser, not render. If we setContent-Type: text/html
file is served correctly.A powershell example of setting the property to enable static file hosting in Azure:
https://stackoverflow.com/a/42893335
Here's an example of a blob where I'd like to set the Content-Type: https://github.com/dcolebatch/azure_serverless_example/blob/master/setup/main.tf#L51
The text was updated successfully, but these errors were encountered: