Squarespace/pgbedrock

Setting password commented out

Closed this issue · 1 comments

I tried to create a role with a password.

student:
  can_login: yes
  is_superuser: no
  attributes:
    - PASSWORD "{{ env['STUDENT_PASSWORD'] }}"
  privileges:
    schemas:
      read:
        - challenges
    tables:
      read:
        - challenges.*

I provided STUDENT_PASSWORD in the environment. This is the generated config. The password setting was skipped for some reason:

--------------------------------
--- Configuring attributes -----
--------------------------------

CREATE ROLE "student";
ALTER ROLE "student" WITH LOGIN;
--ALTER ROLE "student" WITH ENCRYPTED PASSWORD '******';

How can I get pgbedrock to actually set the password for my new user?

I realized the statement was actually executed.