Open github4slash opened 4 years ago
If you're self-managing the ASG, you should be able to specify your custom service linked role when you create the ASG. However, if you want AWS to create an EKS managed node group, there does not seem to be a way to use a custom service linked role. I've opened #1698 for that.
How we can use cross account CMK (attached with ami/ebs of launch template) with EKS cluster created. EKS cluster gets created with its own Auto Scaling Group & default Service Link Role (AWSServiceRoleForAutoScaling)
we have created our own Custom Service Linked role for Auto Scaling Group (AWSServiceRoleForAutoScaling_XX) & Added it to CMK policy we want to our EKS cluster get created with Auto Scaling Group & This EKS default Auto Scaling group should use our custom Service Link Role(AWSServiceRoleForAutoScaling_XX)
Is there any way to achieve it by having custom Service Link Role(AWSServiceRoleForAutoScaling_XX) added to CMK Policy?