https://pulumi.com logo
Title
c

colossal-australia-65039

03/05/2021, 11:39 PM
I'm using the
@pulumi/eks
Node package and when creating a
new Cluster()
I can supply
roleMappings
. Ideally these roleMappings would reference
ClusterRoleBindings
but these
ClusterRoleBindings
cannot exist until the EKS cluster itself is created since they're k8s resources. I'm stuck in a chicken/egg scenario for the initial creation of the EKS cluster! Is there a way to solve this without having to fall. back to referencing a hardcoded string value instead of my ideal case of referencing the
clusterRoleBinding.subjects[0].name
?