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

Support for [ public_network_access_enabled and network_access_policy on os_disks] #28342

Open
1 task done
arsovski-ahnl opened this issue Dec 19, 2024 · 1 comment
Open
1 task done

Comments

@arsovski-ahnl
Copy link

arsovski-ahnl commented Dec 19, 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

Hello,

I noticed that there is no option to enable or modify the networking fields below for an os_disk inside its block . Is it possible this to be added?

"networkAccessPolicy": "AllowAll",
"publicNetworkAccess": "Enabled"

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

azurerm_windows_virtual_machine

Potential Terraform Configuration

No response

References

No response

@ms-zhenhua
Copy link
Contributor

Hi @arsovski-ahnl, thank you for reaching out.
azurerm_windows_virtual_machine is based on Azure VM API, which does not expose networkAccessPolicy or publicNetworkAccess for OSDisk so that it cannot be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants