From 466867acafe02d01aebf811f8f227ac315ab3fff Mon Sep 17 00:00:00 2001 From: leiicamundi <153937047+leiicamundi@users.noreply.github.com> Date: Thu, 29 Feb 2024 17:30:02 +0100 Subject: [PATCH] display rights --- .helpers/actions/create-aurora-pg-db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.helpers/actions/create-aurora-pg-db.sh b/.helpers/actions/create-aurora-pg-db.sh index 46f0a03d..0a4ae771 100755 --- a/.helpers/actions/create-aurora-pg-db.sh +++ b/.helpers/actions/create-aurora-pg-db.sh @@ -4,10 +4,10 @@ psql postgres -c "DROP DATABASE IF EXISTS \"${PGDATABASE}\";" \ -c "CREATE DATABASE \"${PGDATABASE}\";" # see https://github.com/camunda/infra-core/tree/opensearch-cluster/camunda-opensearch#user-setup -psql postgres -c "CREATE USER \"${PGUSER_IRSA}\";" \ +psql postgres -c "CREATE USER \"${PGUSER_IRSA}\" WITH LOGIN;" \ -c "GRANT rds_iam TO \"${PGUSER_IRSA}\";" \ -c "GRANT rds_superuser TO \"${PGUSER_IRSA}\";" \ -c "GRANT ALL PRIVILEGES ON DATABASE \"${PGDATABASE}\" TO \"${PGUSER_IRSA}\";" psql postgres -c "SELECT aurora_version();" \ - -c "SELECT version();" + -c "SELECT version();" -c "\du"