Additional tag for autoscaling enabled (#454)

* Additional tag for autoscaling_enabled

* Added changelog
This commit is contained in:
Alexandr Grab
2019-08-01 17:26:41 +03:00
committed by Max Williams
parent 6d0025ea03
commit c5c3d385b7
2 changed files with 11 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ project adheres to [Semantic Versioning](http://semver.org/).
# History
## [[v5.1.1](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v5.1.0...v5.1.1)] - 2019-07-30]
### Added
- Added new tag in `worker.tf` with autoscaling_enabled = true flag (by @insider89)
## [[v5.1.0](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v5.0.0...v5.1.0)] - 2019-07-30]
### Added

View File

@@ -77,6 +77,11 @@ resource "aws_autoscaling_group" "workers" {
"value" = "owned"
"propagate_at_launch" = true
},
{
"key" = "k8s.io/cluster/${aws_eks_cluster.this.name}"
"value" = "owned"
"propagate_at_launch" = true
},
{
"key" = "k8s.io/cluster-autoscaler/${lookup(
var.worker_groups[count.index],