mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 15:49:33 -05:00
fix(lambda): retain MicroVM image request configuration and tags (#8102)
This commit is contained in:
1 parent
7a2ebb934a
commit
bb689885a3
12 files changed
+857
-7
No files matched your search
@@ -52,6 +52,7 @@ Two AWS service models, not one. `Lambda Microvms` (apiVersion 2025-09-09) carri
|
||||
- **Members the model marks optional but the service enforces:** a connector requires `ClientToken`, `OperatorRole`, `NetworkProtocol` and `AssociatedComputeResourceTypes`. A client written from the Smithy model alone receives four validation errors in turn.
|
||||
- **ARN or bare identifier:** images, MicroVMs and connectors resolve by either in URI paths.
|
||||
- **Passing a connector:** when IAM enforcement is on, `CreateMicrovmImage`, `UpdateMicrovmImage` and `RunMicrovm` need `lambda:PassNetworkConnector` on each connector the request names, and on the Lambda-managed `INTERNET_EGRESS` connector, or `HTTP_INGRESS` for ingress, when it names none, as on AWS (see [IAM](iam.md)).
|
||||
- **Image configuration:** Create and Update retain the requested base image version, egress connectors, logging, environment variables, OS capabilities and CPU architectures. Create retains its tags. A full-replace Update resets omitted configuration to defaults, including base image version `1.0`. Version responses retain the runtime configuration from their build; omitting egress connectors or supplying an empty list uses the managed `INTERNET_EGRESS` connector.
|
||||
- **Connector versions:** a connector starts at version 1. As on AWS, an update that changes the subnets, the security groups, the network protocol or the operator role makes the next version, and one that only lists the subnets in another order changes nothing. A connector also resolves by its name, and `:<version>` after an id, a name or an ARN names one version. The latest version cannot be deleted on its own, and `AssociatedComputeResourceTypes` cannot change. Errors use the AWS wording.
|
||||
- **Builds per generation:** each version is built once per Graviton generation the service targets, so a version has more than one build.
|
||||
- **Not emulated:** auth tokens, the per-VM endpoint, idle and suspend timers, and suspend/resume. Those belong to a full-fidelity MicroVMs emulator rather than to CloudFormation provisioning; see [m80](https://github.com/INTENTIUS/m80).
|
||||
|
||||
Reference in new issue
Block a user