damp-book-35965
03/22/2019, 4:52 PMwhite-balloon-205
InstanceRole
for each NodeGroup, but you are right that it creates one copy of the role for each NodeGroup.
The @pulumi/eks
package does create one for the Cluster which it shares across NodeGroups. We could probably change that to allow creating one per NodeGroup instead - which would be closer to the EKS docs.
This shouldn't have much impact though unless you are changing this out-of-band of Pulumi/CloudFormation though. Is there a particular reason this was important for you?damp-book-35965
03/22/2019, 5:53 PMwhite-balloon-205
damp-book-35965
03/22/2019, 8:43 PMwhite-balloon-205
cluster.instanceRole
I believe.
We’ll need to expose it also on the individual NodeGroup
as part of improving this.damp-book-35965
03/22/2019, 8:45 PMcluster.instanceRole
is unfortunately the service role and not the IAM rolewhite-balloon-205
damp-book-35965
03/22/2019, 8:49 PMcluster.core.instanceProfile.arn
But that is the instanceProfile of the default Node group again..I don't know how to get the instanceRole from there..might need some weird string substitutionswhite-balloon-205
cluster.instanceRole
does appear to be the instance profile role. Why did you think otherwise? Our docs? Or something didn’t work as you expected?damp-book-35965
03/22/2019, 8:53 PMwhite-balloon-205
damp-book-35965
03/22/2019, 9:07 PM