-
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
azurerm_postgresql_flexible_server public_network_access_enabled error when not set #26098
Comments
Now you need to explicitly pass |
Thanks @faizan1990 I understand that. But this is a breaking change for my 25 services using the same configuration. And this is not listed as a breaking change so I don't think this was intended. Another complexity for me is they all rely on the same terraform module. So if I add |
Thanks for raising this issue. Unfortunately, it's expected behavior since it's by TF design. Actually, |
Could we automatically default to
Shouldn't it be added to the release changelog then? |
@neil-yechenwei @tombuildsstuff we can't upgrade to 3.105.0 as it will be a pain to update all our apps. I need to stop devs deploying on 25 repos, update the central module, then upgrade each repo. Is there a chance the change will be reconsidered? Or should I take the pain. |
this really sucks. but it it what it is. thank you guys for clarification. |
Related to issue hashicorp/terraform-provider-azurerm#26098 We must ignore changes to the argument as it becomes enforced from azurerm version v3.105.0. This will allow us to upgrade azurerm in all the repositories. Then we will be able to set public_network_access_enabled to false and remove this ignore_changes.
Hello everyone! Is there any expected time for resolution on this? We can't integrate Postgre Flexible Server in a "Hub and Spoke" topology with a Service Endpoint due to it's limitation that it doesn't support communication over peered networks. It has to be with a Private Endpoint instead, because the server has to be on a spoke network. Seems like this Microsoft documentation is not accurate and is misleading so far: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-networking-private-link |
Forcing us setting
We use the 3.117.0 I would expect azurerm to follow the azure api standards, also I would expect NOTE documentation on this topic. FYI: faizan1990 is this comment here relevant or to create another issue? |
Is there an existing issue for this?
Community Note
Terraform Version
1.5.4
AzureRM Provider Version
v3.105.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
As mentioned in #25812
Actual Behaviour
plan
shows the value ofpublic_network_access_enabled
will be changed to the new defaultThen
apply
failsSteps to Reproduce
Run terraform apply with v3.104.2 successfully
Upgrade to v3.105.0
Run terraform plan: it shows a difference
Run terraform plan: it fails
Important Factoids
No response
References
#25812
The text was updated successfully, but these errors were encountered: