Can't view task logs in Airflow web UI after changing secrets backend

0

After switching the alternate secrets backend to the Parameter store I was able to retrieve connections/variables from the SSM Parameter store, but the only issue was the task logs page in the Airflow webserver UI was stuck in a loading state. I can still view task logs from the Cloudwatch portal.

Enter image description here

Airflow config

secrets.backend	airflow.providers.amazon.aws.secrets.systems_manager.SystemsManagerParameterStoreBackend
secrets.backend_kwargs	{"connections_prefix" : "airflow/connections", "variables_prefix" : "airflow/variables"}

SystemsManager policy attached to execution role

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "ssm:*",
            "Resource": "arn:aws:ssm:us-east-1:<account_id>:parameter/airflow*"
        }
    ]
}
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ