You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EC2: CreateLaunchTemplateVersion and ModifyLaunchTemplate are unregistered #456
The EC2 plugin registers only CreateLaunchTemplate, DescribeLaunchTemplates and DeleteLaunchTemplate. A consumer that versions a template — the normal way to evolve one without recreating it — gets an unknown-action error for:
CreateLaunchTemplateVersion
ModifyLaunchTemplate (sets the default version)
DescribeLaunchTemplateVersions
DeleteLaunchTemplateVersions
Substrate also has no version concept at all: CreateLaunchTemplate stores one EC2LaunchTemplateData with no version number, and LaunchTemplate.Version on a RunInstances request is not consulted.
Adjacent to #444 but out of its scope — that issue was about a template's data being discarded, not about versioning.
Acceptance criteria
Confirm request/response shapes and error codes against the EC2 API reference, including DefaultVersionNumber / LatestVersionNumber on the template summary and $Latest / $Default as version specifiers.
Templates store an ordered version list; CreateLaunchTemplate creates version 1 and it is both the latest and the default.
CreateLaunchTemplateVersion appends, returning the new version number; SourceVersion is honored.
ModifyLaunchTemplate sets the default version, rejecting a version that does not exist.
RunInstances and CreateFleet resolve LaunchTemplate.Version — a number, $Latest, $Default, and absent (which means the default version, not the latest — confirm this).
DeleteLaunchTemplateVersions cannot delete the default version, matching AWS.
DescribeLaunchTemplateVersions supports version filtering and pagination.
Moved from the v0.85.0 milestone to v0.86.0, which is now cut and closed.
Deliberately deferred as feature-scale. Unlike the four defects v0.85.0 shipped,
this one needs a new storage shape: versioning means a template holds an
ordered set of versions rather than today's single LatestData, plus $Latest/$Default resolution at launch time and a migration path for templates
already stored in the current single-version form. That is a design decision, not
a fix.
One thing v0.85.0 changed that bears on it: #453 means runInstances now resolves
a launch template even when the request also carries ImageId. So whatever
version-resolution this issue lands will sit on a path that is now exercised by
strictly more launches than before — including every fleet launch whose override
names an AMI. Worth knowing when it gets picked up.
Activity
scttfrdmn commentedon Aug 2, 2026
Moved from the v0.85.0 milestone to v0.86.0, which is now cut and closed.
Deliberately deferred as feature-scale. Unlike the four defects v0.85.0 shipped,
this one needs a new storage shape: versioning means a template holds an
ordered set of versions rather than today's single
LatestData, plus$Latest/$Defaultresolution at launch time and a migration path for templatesalready stored in the current single-version form. That is a design decision, not
a fix.
One thing v0.85.0 changed that bears on it: #453 means
runInstancesnow resolvesa launch template even when the request also carries
ImageId. So whateverversion-resolution this issue lands will sit on a path that is now exercised by
strictly more launches than before — including every fleet launch whose override
names an AMI. Worth knowing when it gets picked up.
No work has started.
fix(ec2): carry a launch template's tags and instance profile to the …