-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
azurerm_postgresql_flexible_server should allow public_network_access_enabled argument as input #24708
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Having a related issue, but in my case I don't want to use the private endpoint yet since it is on preview, but now while trying to create a instance (with a replica) using public IP + firewall rules I get:
as error. @rcskosir can we have an idea if the devs are aware of this ? As is now it breaks completely the usability for both group of users who want or not to use the private endpoint feature being in preview + replicas |
@rcskosir Private Endpoints for Postgresql Flexible Server is now GA. Can we remove the preview label? |
This comment was marked as off-topic.
This comment was marked as off-topic.
Since Private Endpoints have been GA now for some time, is it possible to implement this? |
We see in TF code: So plz, bring this argument to the front instead of dependent from vent injection. |
For us the public_network_access_enabled input argument is very important to be able to rollout flexible server with Terraform and public access denied because of Azure policies of our company. We have a lot of PostgreSQL Single servers to migrate to flexible servers and we have to start soon. We are now looking to use Bicep instead although Terraform is our preferred tool. |
@PeterNienaber you can consider using |
@nlighten that would be a option to be considered (use As stated by @joachimsmits before, the code is already in place (#24708 (comment)), we just need to have the argument available to be used. This is a issue opened since January, and since March 1st we had 3.94.0/3.95.0/3.96.0/3.97.0/3.97.1 and 3.98.0 versions released. How big would be this change to not being considered as part of any of those releases ? |
Agree with the gist of this issue, we are experiencing the same issues in trying to deploy a PFS but require no public network access due to policies set by the company. Would like to have this field configurable as this field is configurable directly via the API: https://learn.microsoft.com/en-us/rest/api/postgresql/flexibleserver/servers/create?view=rest-postgresql-flexibleserver-2022-12-01&tabs=HTTP#network |
Is there an existing issue for this?
Community Note
Description
Private endpoints for
azurerm_postgresql_flexible_server
are currently in preview (GA expected in a month or so). The absence of apublic_network_access_enabled
input argument prevents the creation of instances with public access disabled in combination with privat eendpoints..This is due to that fact that value of
public_network_access_enabled
is computed based on whether or notdelegated_subnet_id
is passed as input argument.We would like to propose adding
public_network_access_enabled
as optional input argument with the current computed value as default for backward compatibility.New or Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server
Potential Terraform Configuration
References
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-networking-private-link
The text was updated successfully, but these errors were encountered: