Skip to content

feat(microvm): add microvm example - #5377

Draft
edersonbrilhante wants to merge 85 commits into
microvm-provider-independentfrom
microvm-foundation-example
Draft

edersonbrilhante wants to merge 85 commits into
microvm-provider-independentfrom
microvm-foundation-example

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the regional Lambda MicroVM foundation module and example.

  • Creates the encrypted artifact bucket, build and operator IAM roles, native Lambda Network Connectors, connector security groups, runtime usage policy, and propagation dependencies.
  • Provides a foundation example and documentation for configuring the environment before a MicroVM image build.
  • Uses dedicated IAM name prefixes and requires AWS provider 6.61 or newer.

Test Plan

  • terraform fmt -recursive -check -diff for the module and example
  • terraform init -backend=false -input=false
  • terraform validate for the module and example
  • Terraform commit hooks, TFLint, conflict checks, and git diff --check

Related Issues

Depends on #5363. Follow-up image build example: #5373.

@edersonbrilhante
edersonbrilhante requested review from a team as code owners September 4, 2026 21:18
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante changed the base branch from microvm-integration-independent to microvm-examples-image-build September 4, 2026 21:28
@edersonbrilhante
edersonbrilhante marked this pull request as draft September 4, 2026 21:28
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch 3 times, most recently from adb7a1e to 4564b89 Compare September 4, 2026 21:45
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-examples-image-build to microvm-integration-independent September 4, 2026 21:47
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch 5 times, most recently from ddf0d40 to c6cb82b Compare September 4, 2026 22:38
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from c6cb82b to e689cd1 Compare September 8, 2026 11:18
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from eea918b to 69a0c78 Compare September 8, 2026 11:26
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from 69a0c78 to 651832a Compare September 8, 2026 15:58
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from 81ffa12 to b4d3c16 Compare September 8, 2026 19:16
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from b4d3c16 to f0a9b98 Compare September 8, 2026 19:32
@edersonbrilhante
edersonbrilhante force-pushed the microvm-foundation-example branch from f0a9b98 to 2d6ea03 Compare September 8, 2026 19:44
@edersonbrilhante
edersonbrilhante added this pull request to stack #5438 September 17, 2026 18:35
@edersonbrilhante
edersonbrilhante removed this pull request from stack #5438 September 17, 2026 18:36
@edersonbrilhante
edersonbrilhante added this pull request to stack #5439 September 17, 2026 18:37
@edersonbrilhante
edersonbrilhante removed this pull request from stack #5439 September 17, 2026 18:37
@edersonbrilhante
edersonbrilhante added this pull request to stack #5440 September 17, 2026 18:38
@edersonbrilhante
edersonbrilhante removed this pull request from stack #5440 September 18, 2026 12:40
edersonbrilhante added a commit that referenced this pull request Sep 18, 2026
## Description

Integrates the Lambda MicroVM compute provider into the experimental
multi-runner and runner-config contracts on top of #5362.

- Adds global and per-lane `compute_provider.aws.microvm` settings and
precedence resolution.
- Routes MicroVM lanes through runner-config while preserving the EC2
path.
- Adds MicroVM provider validation, outputs, documentation, and
runner-config coverage.
- Carries MicroVM fields into the unified `multi_runner_config` schema
and keeps MicroVM lanes out of EC2 binary synchronization.

## Test Plan

- MicroVM routing, validation, computed-IAM, and runner-config Terraform
tests
- `git diff --check`
- No live AWS deployment was performed

## Related Issues

Depends on #5362. Follow-up foundation example: #5377.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Base automatically changed from microvm-integration-independent to microvm-provider-independent September 18, 2026 12:41
edersonbrilhante and others added 2 commits September 18, 2026 15:10
## Description

Adds the repository-local Lambda MicroVM image-build flow and runner
example.

- Adds the ARM64 Packer template, pinned Docker image definition, image
builder, publisher, and runtime entrypoint.
- Packages the GitHub Actions runner, CloudWatch Agent, and
lifecycle-hook server into the MicroVM image.
- Defines the external compiled lifecycle-hook ZIP contract, including
root-level `server.js` validation.
- Adds the `examples/microvm` consumer and image-build
workflow/documentation updates.

## Test Plan

- Packer formatting and validation with representative non-secret values
- ShellCheck and Hadolint for image scripts
- Lifecycle-hook ZIP validation with root-level `server.js`
- `terraform validate` for `examples/microvm`
- `git diff --check`

## Related Issues

Depends on #5377.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@edersonbrilhante edersonbrilhante changed the title feat(microvm): add foundation module example feat(microvm): add microvm example Sep 18, 2026
@edersonbrilhante
edersonbrilhante added this pull request to stack #5450 September 18, 2026 21:12
@edersonbrilhante
edersonbrilhante removed this pull request from stack #5450 September 18, 2026 21:12
@edersonbrilhante
edersonbrilhante added this pull request to stack #5452 September 18, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant