add ec2:DescribeLaunchTemplateVersions action to worker node iam role

This commit is contained in:
Sung Kang
2019-03-06 15:51:03 -06:00
parent bb9c1b0b54
commit 28fd3c5530
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Added "ec2:DescribeLaunchTemplateVersions" action to worker instance role (by @skang0601)
- Added output for generated kubeconfig filename (by @syst0m)
- Added outputs for cluster role ARN and name (by @spingel)
- Added optional name filter variable to be able to pin worker AMI to a release (by @max-rocket-internet)

View File

@@ -173,6 +173,7 @@ data "aws_iam_policy_document" "worker_autoscaling" {
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:DescribeTags",
"ec2:DescribeLaunchTemplateVersions",
]
resources = ["*"]