-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 publicNetworkAccess switch #23809
Comments
Thank you for taking the time to open this feature request! |
This was thankfully introduced in v3.86.0 (see #24257). But please correct me if I'm wrong @mbfrahry ; It is currently only set on if v, ok := config["public_network_access_enabled"]; ok {
pna := helpers.PublicNetworkAccessEnabled
if !v.(bool) {
pna = helpers.PublicNetworkAccessDisabled
}
siteConfig.PublicNetworkAccess = pointer.To(pna)
}
existing.SiteConfig.AppSettings = helpers.MergeUserAppSettings(siteConfig.AppSettings, state.AppSettings)
if metadata.ResourceData.HasChange("public_network_access_enabled") {
pna := helpers.PublicNetworkAccessEnabled
if !state.PublicNetworkAccess {
pna = helpers.PublicNetworkAccessDisabled
}
// (@jackofallops) - Values appear to need to be set in both SiteProperties and SiteConfig for now? https://github.com/Azure/azure-rest-api-specs/issues/24681
existing.PublicNetworkAccess = pointer.To(pna)
existing.SiteConfig.PublicNetworkAccess = existing.PublicNetworkAccess
} |
It seems this fix has not worked;
|
Hi, We are utalising the 'public_network_access_enabled' flag that sits within the site_config section introduced in We have policies in our environment to enforce that we do not have these publicly accessible. Terraform is breaking with the policy enforcement message as the provider seems to be not honoring the "false" flag we are giving against this property.
|
Hi, this issue has been outstanding for some time now. The PR is in a stale state, could someone please provide an update ? |
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. |
Is there an existing issue for this?
Community Note
Description
azurerm_logic_app_standard does not have an argument to control Public Network Access.
Can we add an argument like
public_network_access
which can be set totrue
orfalse
to control the public access.New or Affected Resource(s)/Data Source(s)
azurerm_logic_app_standard
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: