Squarespace / pgbedrock

Manage a Postgres cluster's roles, role memberships, schema ownership, and privileges
https://pgbedrock.readthedocs.io/en/latest/
Other
311 stars 35 forks source link

Convert dashes to underscores in password envvars #27

Closed zcmarine closed 6 years ago

zcmarine commented 6 years ago

Tools like Bamboo do not like dashes in envvar names. As a result, it becomes difficult to use these tools with pgbedrock if your role names have dashes. This commit changes dashes in password envvars to underscores, e.g. the role foo-bar would have password envvar FOO_BAR_PASSWORD instead of FOO-BAR_PASSWORD