wooden-jackal-88380
05/31/2022, 9:37 PMdatahub-gms:
enabled: true
image:
repository: ${local.ecr_image_prefix}/linkedin/datahub-gms
tag: ${local.datahub_image_version}
serviceAccount:
create: true
name: "datahub-gms"
annotations:
<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>: ${module.iam_eks_role.iam_role_arn}
I tested that my service account works correctly by spinning up a test AWS CLI pod (last step in here: https://aws.amazon.com/premiumsupport/knowledge-center/eks-pods-iam-role-service-accounts/)
However, my datahub-gms pod is still crash looping and is still assuming my worker role, instead of my least privileged IAM role:
Caused by: software.amazon.awssdk.services.glue.model.AccessDeniedException: User: arn:aws:sts::XXX:assumed-role/mixed-1-node-group-20220530082254040100000001/i-08d04210802a93209 is not authorized to perform: glue:GetSchemaByDefinition on resource: arn:aws:glue:eu-west-3:XXX:registry/neo-datahub-kafka-pro because no identity-based policy allows the glue:GetSchemaByDefinition action (Service: Glue, Status Code: 400, Request ID: XXX)
I am wondering if anyone has encountered this before and if maybe the application doesn’t use the default credentials provider chain?wooden-jackal-88380
05/31/2022, 9:39 PMearly-lamp-41924
05/31/2022, 9:43 PMearly-lamp-41924
05/31/2022, 9:43 PMearly-lamp-41924
05/31/2022, 9:43 PMwooden-jackal-88380
05/31/2022, 9:45 PMearly-lamp-41924
05/31/2022, 10:23 PMearly-lamp-41924
05/31/2022, 10:23 PMearly-lamp-41924
05/31/2022, 10:24 PM