Skip to content

Commit a6f5924

Browse files
committed
feat: add express mode stabilization warning for sync infra path
After sync infra completes in express mode, log a warning that resources may still be stabilizing. The watch loop already handles transient errors gracefully (logs and continues), so users can re-save to retry.
1 parent cc70f6a commit a6f5924

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

samcli/lib/deploy/deployer.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,16 @@ def sync(
749749

750750
LOG.info(self._colored.color_log(msg=msg, color=Colors.SUCCESS), extra=dict(markup=True))
751751

752+
if deployment_config:
753+
LOG.info(
754+
self._colored.color_log(
755+
msg="\nSync completed with CloudFormation Express mode. "
756+
"Resources may still be stabilizing in the background.\n",
757+
color=Colors.WARNING,
758+
),
759+
extra=dict(markup=True),
760+
)
761+
752762
return result
753763
except botocore.exceptions.ClientError as ex:
754764
# Use the helper method to create the appropriate error

0 commit comments

Comments
 (0)