diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c032166c..534aabe4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -52,6 +52,7 @@ jobs: REDSHIFT_TEST_PASS: ${{ secrets.REDSHIFT_TEST_PASS }} REDSHIFT_TEST_PORT: ${{ secrets.REDSHIFT_TEST_PORT }} REDSHIFT_TEST_DBNAME: ${{ secrets.REDSHIFT_TEST_DBNAME }} + REDSHIFT_SPECTRUM_IAM_ROLE: ${{ secrets.REDSHIFT_SPECTRUM_IAM_ROLE }} SNOWFLAKE_TEST_ACCOUNT: ${{ secrets.SNOWFLAKE_TEST_ACCOUNT }} SNOWFLAKE_TEST_USER: ${{ secrets.SNOWFLAKE_TEST_USER }} SNOWFLAKE_TEST_PASS: ${{ secrets.SNOWFLAKE_TEST_PASS }} diff --git a/integration_tests/macros/plugins/redshift/prep_external.sql b/integration_tests/macros/plugins/redshift/prep_external.sql index b3a36249..40a77676 100644 --- a/integration_tests/macros/plugins/redshift/prep_external.sql +++ b/integration_tests/macros/plugins/redshift/prep_external.sql @@ -8,7 +8,7 @@ {{ external_schema }} from data catalog database '{{ external_schema }}' - iam_role '{{ env_var("SPECTRUM_IAM_ROLE", "") }}' + iam_role '{{ env_var("REDSHIFT_SPECTRUM_IAM_ROLE") }}' create external database if not exists; {% endset %} diff --git a/integration_tests/test.env.sample b/integration_tests/test.env.sample index 87391e08..71fa8cd7 100644 --- a/integration_tests/test.env.sample +++ b/integration_tests/test.env.sample @@ -6,6 +6,7 @@ REDSHIFT_TEST_USER= REDSHIFT_TEST_PASS= REDSHIFT_TEST_DBNAME= REDSHIFT_TEST_PORT= +REDSHIFT_SPECTRUM_IAM_ROLE= # snowflake