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

[release/9.1] Don't set properties on existing Azure SQL server resources #7707

Merged
merged 5 commits into from
Feb 20, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 20, 2025

Backport of #7705 to release/9.1

/cc @captainsafia

Customer Impact

This PR updates the bicep generated for existing Azure SQL resources to avoid mutating properties on existing resources. It uses a workaround to model the administrator access for the managed identity as an "edge" between the parent SqlServer resource and a custom SqlServerAzureADAdministrator resource.

Without this change, the generated Bicep is invalid and will fail to provision the resource correctly.

Testing

  • Automated validation for generated bicep via unit tests.
  • Manual validation on SqlServer playground app for Run/Publish mode.

Risk

Low, affects Azure SQL services only and avoid errors during provisioning with current implemenation.

Regression?

No.

@danmoseley danmoseley requested a review from eerhardt February 20, 2025 16:17
@danmoseley danmoseley added this to the 9.1 milestone Feb 20, 2025
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@danmoseley danmoseley added the Servicing-approved Approved for servicing release label Feb 20, 2025
@danmoseley danmoseley merged commit 5bab8b4 into release/9.1 Feb 20, 2025
5 checks passed
@danmoseley danmoseley deleted the backport/pr-7705-to-release/9.1 branch February 20, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants