Closed pcornish closed 4 years ago
This adds verbose logging when using Mixed Instances Policy.
The additional (verbose only) log entry looks like this:
2020/03/27 11:16:52 [my_asg_name] using mixed instances policy launch template
Note: This PR originally added support as well as the verbose logging. The support itself was merged a few hours ago, so this just adds the logging!
This adds support for Auto Scaling Groups using a Mixed Instances Policy.
In this case, where more than one instance type is permitted for the ASG, the launch template is nil and the roller fails with:
nil
both target launch configuration and launch template are nil
Please see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html for background information.
Also, tests are failing.
This adds verbose logging when using Mixed Instances Policy.
Logs
The additional (verbose only) log entry looks like this:
Note: This PR originally added support as well as the verbose logging. The support itself was merged a few hours ago, so this just adds the logging!
Original PR follows
This adds support for Auto Scaling Groups using a Mixed Instances Policy.
In this case, where more than one instance type is permitted for the ASG, the launch template is
nil
and the roller fails with:Logs
The additional (verbose only) log entry looks like this: