[ACS] az aks create: Pre-announce --no-ssh-key default behaviour breaking change#32205
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| aks create | cmd aks create added property deprecate_info_target |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a breaking change pre-announcement for the az aks create command regarding SSH key handling. The change notifies users that starting in November 2025, the command will default to --no-ssh-key behavior when no SSH key parameters are provided, instead of failing as it currently does.
- Adds a breaking change registration using the CLI's breaking change system
- Updates the module to import the required breaking change registration function
- Provides clear messaging about the upcoming behavioral change
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
please fix the failed style check
|
- Default SSH key behavior will change in next breaking change release (2.79.0) - When no SSH key parameters are provided, command will behave as if '--no-ssh-key' was passed instead of failing
dd368ef to
83bc996
Compare
az aks create: Make --no-ssh-key default behaviouraz aks create: Pre-announce --no-ssh-key default behaviour breaking change
Related command
az aks createDescription
This PR adds a breaking change pre-announcement for az aks create.
This pre-announcement ensures customers are warned ahead of time and have the opportunity to adjust their scripts or workflows before the November 2025 breaking change release.
Testing Guide
az aks createwith the required parameters and omitting all ssh related parametersThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.