-
Notifications
You must be signed in to change notification settings - Fork 3.4k
postgres flexible-server firewall-rule change not included in v2.86.0 #33333
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botDocumentationPostgreSQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botDocumentationPostgreSQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Four months ago, it was announced that the parameters for creating a firewall rule will change in a breaking manner with v2.86.0. This is also still stated in the docs.
However, v2.86.0 will fail if the new argument
--server-nameis given and the code, which I assume should have been updated, had no changes in the past four months.Was this change potentially also postponed to v2.87.0, as many other postgres related changes?
Related command
az postgres flexible-server firewall-rule createErrors
Issue script & Debug output
az postgres flexible-server firewall-rule create \ --resource-group "${azname}" \ --name "askingcat" \ --server-name "${azname}" \ --start-ip-address "${ip}" \ --end-ip-address "${ip}" unrecognized arguments: --server-name ******(Debug log should not be necessary for this.)
Expected behavior
The new parameter(s) are recognized as announced in the documentation for breaking changes.
Environment Summary
Additional context
We provided a wrapper for our users to avoid breaking changes for them by either calling
azwith the old parameters or the new ones, based on their version. Unfortunately, due to this bug this now didn't work as expected.