Adding support for launch templates & userdata parameters @danjbh (#27)
what
- Adding default launch template configuration
- Adding ability to provide your own launch template by overriding the launch template id & version
- Adding dynamic config options for user_data
- Bumping various upstream module versions & tests
- Keeping
instance_types
as a list but adding TF 0.13 variable validation
why
In previous version of the AWS provider (2.x), you could not define your own launch template for aws_eks_node_group
. Additionally, the tags specified in the aws_eks_node_group
definition were not being passed down to the EC2 instances created by the ASG, which made tasks like monitoring and cost tracking difficult.
The latest versions of the AWS provider (3.x) give us the ability to specify our own launch template directly from aws_eks_node_group
, which allows us to set our own options (e.g. tag_specifications
. user_data
, etc.).
This also should satisfy the requests in #24