Open yogesh8177 opened 3 years ago
We are bumping into this too. https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/ is something we have asked our engineering teams to follow, but it seems to conflict with the lack of support here.
Is there maybe some setting that would result in the IAM role for service account getting seen by aws-kcl
?
Deploying KCL consumer via kubernetes on aws EKS service does not pick up IAM role from serviceAccount with AWSCredentialsProvider =
DefaultAWSCredentialsProviderChain
, instead it uses node level role.Following environment variables are present in the service, however it still doesn't seem to pick it up. However it works when I provide
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
.