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

Managed Storage Account File Shares / Containers Azure Resource Manager #26542

Closed
1 task done
jkroepke opened this issue Jul 4, 2024 · 2 comments
Closed
1 task done

Comments

@jkroepke
Copy link
Contributor

jkroepke commented Jul 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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 comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.

Description

azurerm_storage_share is using data plane REST API for setup and configure shares.

This causes issues, if firewall rules are active on a storage account.

Azure additionally provides a Azure Resource Manager API for manage File Share inside a storage Account. It would be great if the AzureRM APIs can be used instead the Data plane API.

If single properties are not availible via Azure Resource Manager, then it maybe split it out on a dedicated resources (like AWS Provider does it for S3 Buckets)

New or Affected Resource(s)/Data Source(s)

azurerm_storage_share

Potential Terraform Configuration

No response

References

@tombuildsstuff
Copy link
Contributor

hey @jkroepke

Taking a look through here, this issue is ultimately a duplicate of #2977 - where unfortunately the Resource Manager functionality doesn't expose the functionality available in the Data Plane API, which the Service Team have previously committed to adding. Whilst we may look to split the Data Plane functionality out to a separate resource in the future, unfortunately doing so breaks some scenarios (for example, guaranteeing that there's no static website configured, which would need to be done within the main azurerm_storage_account resource).

Since this issue is ultimately a duplicate of #2977, whilst I'd like to thank you for opening this issue I'm going to close this in favour of that issue - so would you mind subscribing to that issue for updates?

Thanks!

Copy link

github-actions bot commented Aug 4, 2024

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2024
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

2 participants