AWS Batch on Fargate job failing with error No Credentials raises

0

Hi Team,

I am calling the credentials from ssm parameter store to login to database from ECS cluster. I have attached ssm full access to Job execution role even tough it's getting fail.

botocore.exceptions.NoCredentialsError: Unable to locate credentials

Any suggestions to this issue

  • Hi, sorry to answer your question with another question but it really depends how you are retrieving the secrets :)

    E.g. are you adding the secret to the task definition as an ENVIRONMENT VARIABLE or through direct code access in you application?

    A bit more information will make it much easier to help you.

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen