orange-tailor-8542308/08/2019, 10:33 PM
. But part of me also wants the roleMappings to be a config block that passes into the cluster creation. How are most of y’all doing this?
breezy-hamburger-6961908/08/2019, 10:43 PM
config block, but
would also need the user to pass in the
mapping in the
as well, as it currently handles that: https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts#L268-L323 - specifically Line 315. If this
is supplied, I believe
would at best load it to parse and validate that its valid YAML, as trying to validate anything further like if users and roles are properly configured in it, can be a bit of a guessing game. This would put the onus on the user to make sure it is complete and correct.
orange-tailor-8542308/19/2019, 7:57 PM