Skip to content

fix(lambda): update SnapStart supported regions - #4740

Merged
kddejong merged 2 commits into
aws-cloudformation:mainfrom
0xTaoZ:fix/snapstart-supported-regions
Oct 20, 2026
Merged

kddejong merged 2 commits into
aws-cloudformation:mainfrom
0xTaoZ:fix/snapstart-supported-regions

Conversation

@0xTaoZ

@0xTaoZ 0xTaoZ commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Fixes #4738.

Description of changes:

E2530 rejects SnapStart-enabled functions in ten supported commercial regions because its region list is outdated. Add those regions to the existing list, which also controls I2530 suggestions. Runtime validation is unchanged.

AWS documents SnapStart support in all commercial regions except Asia Pacific (New Zealand) and Asia Pacific (Taipei). Tests cover each added region with Java, Python, and .NET, and retain errors for unsupported regions in a mixed-region scan.

Validation: 213 Lambda-rule tests, 2,981 unit tests, and the full suite (3,008 tests and 24 subtests; four data tests deselected) pass; Ruff check, Ruff format, and diff whitespace checks pass. A public lint API smoke test accepts the reported configuration in Israel and Hyderabad and retains E2530 in Taipei and GovCloud.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.72%. Comparing base (0b205fe) to head (9af355f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4740   +/-   ##
=======================================
  Coverage   94.72%   94.72%           
=======================================
  Files         439      439           
  Lines       15858    15858           
  Branches     3067     3067           
=======================================
  Hits        15021    15021           
  Misses        457      457           
  Partials      380      380           
Flag Coverage Δ
unittests 94.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kddejong
kddejong merged commit 1f0e140 into aws-cloudformation:main Oct 20, 2026
21 checks passed
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.

E2530 reports SnapStart as unsupported in regions where it is available

2 participants