Skip to content

Commit

Permalink
PI-1929 Explicitly disable audit user creation in preprod (#3261)
Browse files Browse the repository at this point in the history
This allows us to continue creating the client_id trigger.

See ministryofjustice/hmpps-delius-pipelines#793
  • Loading branch information
marcus-bcl authored Feb 20, 2024
1 parent 9eb62d2 commit ccad630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccad630

Please sign in to comment.