Skip to content

Commit

Permalink
display rights
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Feb 29, 2024
1 parent 1bed544 commit 466867a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .helpers/actions/create-aurora-pg-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 466867a

Please sign in to comment.