feat(microvm): add lifecycle hook service - #5280
Draft
edersonbrilhante wants to merge 2 commits into
Draft
Conversation
Contributor
Dependency ReviewThe following issues were found:
License Issueslambdas/services/microvm-lifecycle-hooks/package.json
OpenSSF Scorecard
Scanned Files
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
lambdas/services/microvm-lifecycle-hooksservice that packages the Lambda MicroVM lifecycle HTTP server as a self-contained NCC artifactcontext.storageenvironment map for per-MicroVM SSM or DynamoDB selectionstorage-providers, including fail-closed SSM consumption and atomic unexpired DynamoDB consumptiondist/copy, rollout order, and least-privilege runtime requirementsThis PR is stacked on #5279 because it consumes the shared DynamoDB runner-state schema introduced there.
Test Plan
cd lambdas && yarn install --immutableNX_DAEMON=false NX_ISOLATE_PLUGINS=false yarn buildNX_DAEMON=false NX_ISOLATE_PLUGINS=false yarn testNX_DAEMON=false NX_ISOLATE_PLUGINS=false yarn lintNX_DAEMON=false NX_ISOLATE_PLUGINS=false yarn format-checkyarn tsc --noEmit -p services/microvm-lifecycle-hooks/tsconfig.jsonyarn tsc --noEmit -p libs/storage-providers/tsconfig.jsondist/outside the workspace, started it, verifiedPOST /aws/lambda-microvms/runtime/v1/ready, and exercised graceful shutdownRelated Issues
None.