File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
14
14
15
15
### Changed
16
16
- Added ` --with-aggregate-type-defaults ` option to terraform-docs (by @max-rocket-internet )
17
+ - Updated AMI ID filtering to only filter AMIs from current cluster k8s version (by @max-rocket-internet )
17
18
18
19
## [[ v1.8.0] ( https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v1.7.0...v1.8.0 )] - 2018-12-04]
19
20
Original file line number Diff line number Diff line change @@ -149,4 +149,3 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
149
149
| worker\_security\_group\_id | Security group ID attached to the EKS workers. |
150
150
| workers\_asg\_arns | IDs of the autoscaling groups containing workers. |
151
151
| workers\_asg\_names | Names of the autoscaling groups containing workers. |
152
-
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ data "aws_iam_policy_document" "workers_assume_role_policy" {
18
18
data "aws_ami" "eks_worker" {
19
19
filter {
20
20
name = " name"
21
- values = [" amazon-eks-node-*" ]
21
+ values = [" amazon-eks-node-${ var . cluster_version } -v *" ]
22
22
}
23
23
24
24
most_recent = true
25
- owners = [" 602401143452" ] # Amazon
25
+ owners = [" 602401143452" ]
26
26
}
27
27
28
28
data "aws_iam_policy_document" "cluster_assume_role_policy" {
You can’t perform that action at this time.
0 commit comments