-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying via Shell Scripts does not set the POSTGRES_ADMIN_LOGIN_PASS #72
Comments
We are setting postgresAdminLoginPass if is not passed, and stores the password in keyvault as follows:
Not sure what causes this problem. Do you have any suggestion? Do you think if we change like below, it will resolve the issue you see?
|
@ShaneOsborne Would you share your bicep version for debugging? Mine is 0.6.1 and it was picking up the uniqueString function and a random password.
|
@ShaneOsborne This seems to be taken care of changes in install.sh. install_sh would pass empty postgres admin password, which will generate the postgres password. Please get the latest main branch. I will close the issue for now. But, welcome to reopen. |
Running setup.sh or install.sh does not prompt the user for the admin password for PGSQL as described in the deployment documentation.
Without this $POSTGRES_ADMIN_LOGIN_PASS is empty and deployment will fail saying
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"PasswordNotComplex","message":"Password validation failed. The password does not meet policy requirements because it is not complex enough."}]}
Thanks
The text was updated successfully, but these errors were encountered: