Lake Formation Blueprint occurred an error that "NoCredentialsError: Unable to locate credentials"

0

I ran an Lake Formation BluePrint and result was as follows:

method to runresult
by handCOMPLETED
scheduledIMPORT FAILED(NoCredentialsError: Unable to locate credentials)

The error log of ETL Job for workflow said "botocore.exceptions.NoCredentialsError: Unable to locate credentials".

Why scheduled job failed? Is there any solution?

The BluePrint's detail as follows:

  • Blueprint type: Database snapshot
  • Import target's data format: Parquet
  • Import frequency: Monthly
    • Day of the month: 1
    • start time: 10:00
  • Policies which the IAM role(use by this Blueprint) has:
    • AWS managed policy
      • AWSGlueServiceRole
    • inline policies
1st
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "lakeformation:GetDataAccess",
            "Resource": "*"
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:DeleteObject"
            ],
            "Resource": [
                "{{DATALAKE BUCKET ARN}}/*",
                "{{DATALAKE BUCKET ARN}}"
            ]
        }
    ]
}

2nd
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "iam:PassRole",
            "Resource": "{{Glue Connect to RDS ARN}}"
        }
    ]
}
gefragt vor 2 Jahren151 Aufrufe
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