Skip to content
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

[ARM] az deployment sub/tenant/mg create: Fix the KeyError: 'resourceGroup' in outputting results in table format when deploying non-resource group level resources #20455

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

zhoxing-ms
Copy link
Contributor

@zhoxing-ms zhoxing-ms commented Nov 22, 2021

Fix #17744

Description

For deployments that are not under the resource group level, the return data does not contain 'resourceGroup'. Therefore, the KeyError: 'resourceGroup' will appear in the original code

Testing Guide

Local test results

Screenshot 2021-11-22 152917
Screenshot 2021-11-22 152939
Screenshot 2021-11-22 153506

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@zhoxing-ms zhoxing-ms requested a review from jsntcy as a code owner November 22, 2021 07:43
@zhoxing-ms zhoxing-ms changed the title [ARM] az deployment sub/tenant/mg create: Fix the bug in outputting results in table format when deploying non-resource group level resources [ARM] az deployment sub/tenant/mg create: Fix the KeyError: 'resourceGroup' in outputting results in table format when deploying non-resource group level resources Nov 22, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 22, 2021

ARM

@yonzhan yonzhan merged commit 6befa2f into Azure:dev Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

az deployment sub create ends with error Table output unavailable.
3 participants