diff --git a/examples/data-solutions/gcs-to-bq-with-least-privileges/main.tf b/examples/data-solutions/gcs-to-bq-with-least-privileges/main.tf index 80105017..37bf52de 100644 --- a/examples/data-solutions/gcs-to-bq-with-least-privileges/main.tf +++ b/examples/data-solutions/gcs-to-bq-with-least-privileges/main.tf @@ -44,6 +44,7 @@ locals { module.service-account-df.iam_email ] # common roles + "roles/logging.admin" = var.data_eng_principals "roles/logging.logWriter" = [ module.service-account-bq.iam_email, module.service-account-landing.iam_email, diff --git a/tests/examples/data_solutions/gcs_to_bq_with_least_privileges/test_plan.py b/tests/examples/data_solutions/gcs_to_bq_with_least_privileges/test_plan.py index 9a5bbe16..773e80ca 100644 --- a/tests/examples/data_solutions/gcs_to_bq_with_least_privileges/test_plan.py +++ b/tests/examples/data_solutions/gcs_to_bq_with_least_privileges/test_plan.py @@ -24,4 +24,4 @@ def test_resources(e2e_plan_runner): "Test that plan works and the numbers of resources is as expected." modules, resources = e2e_plan_runner(FIXTURES_DIR) assert len(modules) == 11 - assert len(resources) == 46 + assert len(resources) == 47