-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Lambda: add validations for PublishTo and inexistent capacity provider #13519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 1m 5s ⏱️ Results for commit d317f0f. ♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 1h 29m 14s ⏱️ - 27m 28s Results for commit d317f0f. ± Comparison against base commit ee8518d. This pull request removes 1414 tests.♻️ This comment has been updated with latest results. |
316524e to
7ae8368
Compare
7ae8368 to
d317f0f
Compare
| region=region, | ||
| account_id=account_id, | ||
| # TODO: validations for PublishTo without Publish=True | ||
| publish_to=request.get("PublishTo"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super nit: could use publish_to
|
|
||
| if "CapacityProviderConfig" in request: | ||
| capacity_provider_config = request["CapacityProviderConfig"] | ||
| self._validate_capacity_provider_config(capacity_provider_config, context) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: nice catch 👏
Motivation
Add validations for
PublishToand inexistent capacity provider for Lambda Managed Instances.Changes
Tests
Related
Closes DRG-298