Skip to content

Fix staging deployment broken by renamed Azure CLI firewall arguments#911

Merged
tjementum merged 1 commit into
mainfrom
fix-firewall-az-flags
Jun 24, 2026
Merged

Fix staging deployment broken by renamed Azure CLI firewall arguments#911
tjementum merged 1 commit into
mainfrom
fix-firewall-az-flags

Conversation

@tjementum

@tjementum tjementum commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary & Motivation

The staging deployment fails at the database migration step because the Azure CLI on the GitHub-hosted runner adopted a breaking change that repurposes the az postgres flexible-server firewall-rule arguments. --name now identifies the firewall rule instead of the server, --server-name is the new required argument for the server, and --rule-name was removed. The cluster firewall script still passed the server via --name and the rule via --rule-name, so the command aborted with "the following arguments are required: --server-name/-s" before any migration could run.

  • Pass the server through --server-name and the firewall rule through --name in both the create and delete paths of the cluster firewall script

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum requested a review from a team as a code owner June 24, 2026 22:12
@tjementum tjementum added the Bug Something isn't working label Jun 24, 2026
@tjementum tjementum self-assigned this Jun 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@tjementum tjementum force-pushed the fix-firewall-az-flags branch from d419a1d to 2814ab9 Compare June 24, 2026 22:18
@platformplatform platformplatform deleted a comment from github-actions Bot Jun 24, 2026
@tjementum tjementum merged commit ed1dd25 into main Jun 24, 2026
5 checks passed
@tjementum tjementum deleted the fix-firewall-az-flags branch June 24, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant