pulumi-eks
pulumi-eks copied to clipboard
Support ClusterAccessConfig on EKS Cluster
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Want to be able to setup ClusterAccessConfig to adopt the new authentication method with users into K8s to move off the config map model.
Affected area/feature
EKS authentication/Cluster Features
Thanks for filing this request @blakeromano. If you have any other documentation links or details on the context/use case motivating your move off of the config map model that might be useful to who ever pick up this work.
AWS provider resource and example for AccessConfig aws.eks.Cluster | Pulumi Registry CF property reference AWS::EKS::Cluster AccessConfig - AWS CloudFormation
Workaround using transformations:
const cluster = new eks.Cluster("cluster", {
...
}, {
transformations: [args => {
if (args.type === "aws:eks/cluster:Cluster") {
args.props["accessConfig"] = {
authenticationMode: "API_AND_CONFIG_MAP"
};
}
return undefined;
}]
});
This was released in version v2.6.0