Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow setting Content-Type on azurerm_storage_blob objects #999

Closed
dcolebatch opened this issue Mar 19, 2018 · 3 comments
Closed
Milestone

Comments

@dcolebatch
Copy link

When creating blobs for serving static sites or content, setting the Content-Type property is important. The default octet-stream causes all files, even index.html, to download in the browser, not render. If we set Content-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

@katbyte
Copy link
Collaborator

katbyte commented Jun 12, 2018

Closed via #1304 and set to be released in 1.7.0

@katbyte katbyte closed this as completed Jun 12, 2018
@katbyte katbyte added this to the 1.7.0 milestone Jun 12, 2018
@katbyte katbyte changed the title Feature Request: Allow setting properties on azurerm_storage_blob objects Feature Request: Allow setting Content-Type on azurerm_storage_blob objects Jun 12, 2018
@katbyte
Copy link
Collaborator

katbyte commented Jun 16, 2018

@dcolebatch,

Just wanted to let you know we have released 1.7 and it should resolve this issue.

@ghost
Copy link

ghost commented Mar 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost unassigned JunyiYi Mar 30, 2020
@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants