Skip to content

Comments

ec2: Add AWS-managed launch template tags to EC2 instances#116

Open
nik-localstack wants to merge 1 commit intolocalstack:localstackfrom
nik-localstack:fix/ec2/launch-template-tags-on-instance
Open

ec2: Add AWS-managed launch template tags to EC2 instances#116
nik-localstack wants to merge 1 commit intolocalstack:localstackfrom
nik-localstack:fix/ec2/launch-template-tags-on-instance

Conversation

@nik-localstack
Copy link

Motivation

The only way to verify that the correct launch template is used when creating an instance, is through the tags "aws:ec2launchtemplate:id" and "aws:ec2launchtemplate:version"

Changes

  • Adds "aws:ec2launchtemplate:id" and "aws:ec2launchtemplate:version" tags to an ec2 instance when created from a launch template
  • Fixes the version selection logic to select the $Default version instead of $Latest

@nik-localstack nik-localstack force-pushed the fix/ec2/launch-template-tags-on-instance branch from 5cb7d12 to 1696f9b Compare February 20, 2026 15:36
@nik-localstack nik-localstack self-assigned this Feb 20, 2026
@nik-localstack nik-localstack marked this pull request as ready for review February 20, 2026 16:54
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