defaults lookup before falling back on default ami based on platform (#756)

* defaulting to data lookup if worker_group_defaults have no ami_id entry

* using coalesce instead of lookup and also using local instead of var.

* adding defaults support for specifying windows based amis
This commit is contained in:
Christian Kemper
2020-03-11 23:34:21 +00:00
committed by GitHub
parent 7dc56e976b
commit 2a8e45fe2c
2 changed files with 5 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
## [[v9.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v9.0.0...HEAD)] - 2020-xx-xx]
- Ensuring that ami lookup hierarchy is worker_group_launch_templates and worker_groups -> worker_group_defaults -> and finally aws ami lookup (by @ck3mp3r)
- Fix doc about spot instances, cluster-autoscaler should be scheduled on normal instances instead of spot (by @simowaer)
- Adding `encrypted` option to worker's root_block_device as read from the worker configurations (by @craig-rueda)
- Use correct policy arns for CN regions (cn-north-1, cn-northwest-1) (by @cofyc)