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

Storage Account - Support Web and DFS endpoints #3082

Closed
pallxk opened this issue Mar 20, 2019 · 3 comments · Fixed by #3110
Closed

Storage Account - Support Web and DFS endpoints #3082

pallxk opened this issue Mar 20, 2019 · 3 comments · Fixed by #3110

Comments

@pallxk
Copy link
Contributor

pallxk commented Mar 20, 2019

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Azure Storage Account of kind StorageV2 (general purpose v2) offers endpoints for web and dfs, in addition to blob, file, queue and table. I'd like to have those endpoints exported by terraform azurerm provider.

New or Affected Resource(s)

  • azurerm_storage_account

Potential Terraform Configuration

resource "azurerm_storage_account" "demo" {
  name                     = "demo"
  location                 = "location"
  resource_group_name      = "resource_group_name"

  account_kind             = "StorageV2"
  account_tier             = "Standard"
  account_replication_type = "RAGRS"
}

output "primary_web_endpoint" {
  value = "${azurerm_storage_account.demo.primary_web_endpoint}"
}
output "primary_web_host" {
  value = "${azurerm_storage_account.demo.primary_web_host}"
}
output "secondary_web_endpoint" {
  value = "${azurerm_storage_account.demo.secondary_web_endpoint}"
}
output "secondary_web_host" {
  value = "${azurerm_storage_account.demo.secondary_web_host}"
}
output "primary_dfs_endpoint" {
  value = "${azurerm_storage_account.demo.primary_dfs_endpoint}"
}
output "primary_dfs_host" {
  value = "${azurerm_storage_account.demo.primary_dfs_host}"
}
output "secondary_dfs_endpoint" {
  value = "${azurerm_storage_account.demo.secondary_dfs_endpoint}"
}
output "secondary_dfs_host" {
  value = "${azurerm_storage_account.demo.secondary_dfs_host}"
}

References

@Lucretius
Copy link
Contributor

This will require an SDK bump - these endpoints are supported in storage version 2018-02-01 which is not included in our SDK version.

@pallxk
Copy link
Contributor Author

pallxk commented Mar 21, 2019

It seems that we just bumped the SDK version to 2018-02-01 several days ago.. See 7bf3fdc

By the way, I'm willing to help on this since the change required seems trivial.

@ghost
Copy link

ghost commented Apr 28, 2019

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 locked and limited conversation to collaborators Apr 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants