Skip to content

Conversation

@anisaoshafi
Copy link
Contributor

@anisaoshafi anisaoshafi commented Dec 1, 2025

Motivation

Validate capacity provider in Lambda create_function to avoid common errors.

Changes

Validate that:

  • CapacityProviderArn is provided
  • capacity provider exists
  • capacity provider has the right format

Tests

Related

Companion to https://github.com/localstack/localstack-pro/pull/5707

@anisaoshafi anisaoshafi added aws:lambda AWS Lambda semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Dec 1, 2025
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Test Results - Preflight, Unit

22 686 tests   20 918 ✅  6m 15s ⏱️
     1 suites   1 768 💤
     1 files         0 ❌

Results for commit 9a08e7e.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Test Results (amd64) - Acceptance

7 tests   5 ✅  3m 20s ⏱️
1 suites  2 💤
1 files    0 ❌

Results for commit 9a08e7e.

@anisaoshafi anisaoshafi changed the title Validate capacity provider in create_function Lambda: Validate capacity provider in create_function Dec 1, 2025
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 4m 33s ⏱️
3 729 tests 3 448 ✅ 281 💤 0 ❌
3 735 runs  3 448 ✅ 287 💤 0 ❌

Results for commit 9a08e7e.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

LocalStack Community integration with Pro

    2 files      2 suites   1h 34m 56s ⏱️
3 705 tests 3 420 ✅ 285 💤 0 ❌
3 707 runs  3 420 ✅ 287 💤 0 ❌

Results for commit 9a08e7e.

@anisaoshafi anisaoshafi added this to the 4.12 milestone Dec 1, 2025
@anisaoshafi anisaoshafi merged commit d9e4186 into main Dec 2, 2025
15 checks passed
@anisaoshafi anisaoshafi deleted the validate-capacity-provider-arn branch December 2, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws:lambda AWS Lambda docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants