diff --git a/terraform/environments/electronic-monitoring-data/modules/ap_airflow_load_data_iam_role/main.tf b/terraform/environments/electronic-monitoring-data/modules/ap_airflow_load_data_iam_role/main.tf index 8d7e6a75906..0480353be84 100644 --- a/terraform/environments/electronic-monitoring-data/modules/ap_airflow_load_data_iam_role/main.tf +++ b/terraform/environments/electronic-monitoring-data/modules/ap_airflow_load_data_iam_role/main.tf @@ -21,7 +21,7 @@ data "aws_iam_policy_document" "load_data" { ] resources = [ "${var.source_data_bucket.arn}${var.path_to_data}/*", - "${var.athena_dump_bucket.arn}/output${var.path_to_data}/*" + "${var.athena_dump_bucket.arn}/output/*" ] } statement {