Skip to content

v0.35.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jun 13:18
· 38 commits to main since this release
dce3c32
Made spot_options in instance_market_options optional @skjensen (#117)

what

Made spot_options in instance_market_options optional.

why

On the AWS Web console there is an option to tick a box that provides guidance on how to create a Launch Template, there works with an EC2 Auto scaling group.

Expanding the "Advanced details" ticking "Request spot instance" you will see most of the options are marked as "Don't include in launch template (recommended)"

Expiry date and Interruption behaviour are not applicable. Having all spot_options as required in this template makes it impossible to enable spot instances in an EC2 Auto Scaling group.

On a related note, but not requiring any change to the module.
The variable instance_initiated_shutdown_behavior should be set to null as it's also not allowed in the Launch Template when used for an EC2 Auto Scaling group

references

https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html

Support AWS Provider V5 @max-lobur (#116)

what

Support AWS Provider V5
Linter fixes

why

Maintenance

references

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0