scholzj / terraform-aws-kubernetes

Terraform module for Kubernetes setup on AWS
Apache License 2.0
202 stars 129 forks source link

Scaling down fails due to missing permission #9

Closed Kazetsukai closed 6 years ago

Kazetsukai commented 6 years ago

It seems that Kubernetes is failing to scale down an autoscaling group. The permission I could see that it seems to be missing is autoscaling:DescribeLaunchConfigurations. Not sure if it needs more than just that one.

scholzj commented 6 years ago

Thanks for raising this.

I added autoscaling:DescribeLaunchConfigurations to the master IAM role. But I think that should not be needed in all cases. But it seems there were some things missing in the RBAC rights on Kubernetes level. I fixed that and now it seems to work for me. Please give it a try.

Kazetsukai commented 6 years ago

Thanks for that, going to give it a shot.