Skip to content

Fix issue when polling for CloudFormation events#432

Merged
normj merged 1 commit intodevfrom
normj/fix-cf-events-list
Mar 6, 2026
Merged

Fix issue when polling for CloudFormation events#432
normj merged 1 commit intodevfrom
normj/fix-cf-events-list

Conversation

@normj
Copy link
Copy Markdown
Member

@normj normj commented Mar 6, 2026

Description of changes:
Noticed that when I was using the deploy-serverless command when it polls for CloudFormation events it should only be showing events that were created since deploy-serverless was invoked but it was showing events in the past. I'm guessing this was a subtle bug introduced when we updated to V4 of the AWS SDK where now all DateTime are returned back from the SDK in UTC.

Corrected the filtering code to do the comparisons using UTC.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@normj normj merged commit 2b4f89c into dev Mar 6, 2026
10 checks passed
@normj normj deleted the normj/fix-cf-events-list branch March 6, 2026 17:11
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.

3 participants