diff --git a/infra/airflow_dag_processor.tf b/infra/airflow_dag_processor.tf index aefea3e..289c180 100644 --- a/infra/airflow_dag_processor.tf +++ b/infra/airflow_dag_processor.tf @@ -235,7 +235,8 @@ data "aws_iam_policy_document" "airflow_team" { ] resources = [ - "arn:aws:secretsmanager:${data.aws_region.aws_region.name}:${data.aws_caller_identity.aws_caller_identity.account_id}:secret:${var.prefix}/airflow/${var.airflow_dag_processors[count.index].name}-*" + "arn:aws:secretsmanager:${data.aws_region.aws_region.name}:${data.aws_caller_identity.aws_caller_identity.account_id}:secret:${var.prefix}/airflow/${var.airflow_dag_processors[count.index].name}-*", + "arn:aws:secretsmanager:${data.aws_region.aws_region.name}:${data.aws_caller_identity.aws_caller_identity.account_id}:secret:${var.prefix}/airflow/${var.airflow_dag_processors[count.index].name}_2-*" ] }