chore(kb/aws): save sources for access management

This commit is contained in:
Michele Cereda
2024-03-27 19:04:49 +01:00
parent 16e5b228b9
commit 4a01803de1
2 changed files with 25 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ const cluster = new aws.eks.Cluster("cluster", {
const cluster_admin_accessEntry = new aws.eks.AccessEntry("cluster-admin-accessEntry", {
clusterName: cluster.name,
principalArn: callerIdentity.then(callerIdentity => callerIdentity.arn),
principalArn: callerIdentity.then(callerIdentity => callerIdentity.arn), // only users or roles, no groups
kubernetesGroups: [
// No 'system:…', 'amazon:…', 'aws:…', 'eks:…' nor 'iam:…'.
// See reference page.