Skip to content

ec2: Fix launch specification version resolution in fleet templates#172

Open
nik-localstack wants to merge 1 commit intolocalstack:localstackfrom
nik-localstack:unc-404-fleet-launch-template-fix
Open

ec2: Fix launch specification version resolution in fleet templates#172
nik-localstack wants to merge 1 commit intolocalstack:localstackfrom
nik-localstack:unc-404-fleet-launch-template-fix

Conversation

@nik-localstack
Copy link
Copy Markdown

@nik-localstack nik-localstack commented Apr 30, 2026

Fix resolved version resolution so that moto always returns

{
  "LaunchTemplateId": launch_template.id,
  "Version": resolved_version
}

The previous version was returning LaunchTemplateName in some cases (when it was part of the input) which was not in parity with AWS

Tested in https://github.com/localstack/localstack-pro/pull/6895

@nik-localstack nik-localstack self-assigned this Apr 30, 2026
@nik-localstack nik-localstack force-pushed the unc-404-fleet-launch-template-fix branch from 5acb5fc to b2c266b Compare April 30, 2026 20:33
@nik-localstack nik-localstack force-pushed the unc-404-fleet-launch-template-fix branch from b2c266b to e484812 Compare May 1, 2026 06:27
@nik-localstack nik-localstack marked this pull request as ready for review May 1, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant