Closed Skyscimitar closed 1 month ago
Hi @Skyscimitar, welcome to Moto. We do pass some launch template values, like ImageId, InstanceType, and a few others:
Which other properties would you like to see support for?
Hello! The tags from the launch_template are the main values we need, for now only the propagated tags of the autoscaling group make their way to the instance.
Thanks for clarifying @Skyscimitar - I've opened a PR to also send tags through.
When creating an Auto Scaling Group using moto, the launch template argument is ignored when creating instances in the autoscaling group (only launch config is taken into account). This means that any properties of instances managed by the AutoScaling group and set in the launch template are not transferred to the instance. (In
moto.autoscaling.models.FakeAutoScalingGroup.replace_autoscaling_group_instances
, we see that only the launch config is used to pass configuration to the created instances and not the launch template).moto version: 5.0.12 installed using poetry.