Skip to content

fix(azure): preserve web app slot parent outputs - #1201

Merged
hemalshah-gradientedge merged 5 commits into
mainfrom
feat/azure-webapp-slot
Sep 15, 2026
Merged

hemalshah-gradientedge merged 5 commits into
mainfrom
feat/azure-webapp-slot

Conversation

@hemalshah-gradientedge

@hemalshah-gradientedge hemalshah-gradientedge commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

This pull request makes a patch update to the @gradientedge/cdk-utils-azure package, focusing on improving the deployment process for Azure Web App deployment slots. The main change is to ensure deployment slots are created before dependent Web App deployment commands, which helps prevent deployment issues. The update also simplifies resource naming and updates related tests.

Deployment slot creation order improvement:

  • Changed the order of method calls in SiteWithWebApp (main.ts) so that createWebAppSlot() is now called after the Web App is created, ensuring deployment slots are provisioned before dependent commands. [1] [2]
  • Updated the .changeset file to document this patch and its purpose.

Resource naming and test updates:

  • Modified AzureAppServiceManager to use the provided name property directly instead of formatting it, simplifying resource name handling.
  • Updated tests for SiteWithWebApp and AzureWebAppSlotConstruct to reflect the changes in deployment slot creation and naming, ensuring the tests match the new behavior and resource names. [1] [2]

despock
despock previously approved these changes Sep 14, 2026
@hemalshah-gradientedge
hemalshah-gradientedge merged commit 5400da1 into main Sep 15, 2026
9 checks passed
@hemalshah-gradientedge
hemalshah-gradientedge deleted the feat/azure-webapp-slot branch September 15, 2026 08:29
@despock despock mentioned this pull request Sep 15, 2026
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.

2 participants