Skip to content

Commit

Permalink
azurerm_windows_web_app_slot - fix zip_deploy_file on Update (#18002)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjohns86 authored Sep 6, 2022
1 parent a334e02 commit 3c35ef3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ func (r WindowsWebAppSlotResource) Update() sdk.ResourceFunc {
}

if metadata.ResourceData.HasChange("zip_deploy_file") || metadata.ResourceData.HasChange("zip_deploy_file") {
if err = helpers.GetCredentialsAndPublish(ctx, client, id.ResourceGroup, id.SiteName, state.ZipDeployFile); err != nil {
if err = helpers.GetCredentialsAndPublishSlot(ctx, client, id.ResourceGroup, id.SiteName, state.ZipDeployFile, id.SlotName); err != nil {
return err
}
}
Expand Down

0 comments on commit 3c35ef3

Please sign in to comment.