Skip to content

Commit

Permalink
Updated verbose status log in deployment stacks deployment. (Azure#26681
Browse files Browse the repository at this point in the history
)

* Updated verbose status log in deployment stacks deployment.

* Update ChangeLog.md

---------

Co-authored-by: Dante DG <test>
Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
dantedallag and VeryEarly authored Nov 14, 2024
1 parent c8dcd4c commit 5607f22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,6 @@ private DeploymentStack waitStackCompletion(Func<Task<AzureOperationResponse<Dep
bool deploymentOperationFlag = true;
do
{
WriteVerbose(string.Format("Checking stack deployment status", step));
TestMockSupport.Delay(step * counterUnit);

if (phaseOne > 0)
Expand Down Expand Up @@ -959,6 +958,8 @@ private DeploymentStack waitStackCompletion(Func<Task<AzureOperationResponse<Dep
PollDeployments(stack);
}

WriteVerbose("stack deployment status: " + stack.ProvisioningState);

} while (!status.Any(s => s.Equals(stack.ProvisioningState, StringComparison.OrdinalIgnoreCase)));

return stack;
Expand Down
1 change: 1 addition & 0 deletions src/Resources/Resources/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
## Upcoming Release
* Updated Resources SDK to 2024-07-01.
* Fixed overriding of Bicep parameters in Deployment Stack cmdlets to support SecureString parameters.
* Updated verbose status log during stack deployments to show deployment status.

## Version 7.6.0
* Fixed customer-reported `Remove-AzPolicyAssignment` behavior.
Expand Down

0 comments on commit 5607f22

Please sign in to comment.