From ccad63020bfe541f4781b0e067f7fa07e2c621ec Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Tue, 20 Feb 2024 11:37:28 +0000 Subject: [PATCH] PI-1929 Explicitly disable audit user creation in preprod (#3261) This allows us to continue creating the client_id trigger. See https://github.com/ministryofjustice/hmpps-delius-pipelines/pull/793 --- .github/workflows/access.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/access.yml b/.github/workflows/access.yml index 878db6a80d..c5a10b9ba8 100644 --- a/.github/workflows/access.yml +++ b/.github/workflows/access.yml @@ -158,7 +158,7 @@ jobs: - name: Disable audit user creation in preprod # user_ table records are automatically copied from prod to preprod within 1 hour of creation if: ${{ matrix.environment == 'preprod' && steps.check_file.outputs.files_exists == 'true' }} shell: bash - run: yq -i 'del(.database.audit)' database/access.yml + run: yq -i '.database.audit.create_user = false' database/access.yml working-directory: projects/${{ matrix.project }}/deploy - name: Configure database access and audit