User passwords getting reset after every SnowDDL Run #202
Replies: 2 comments 14 replies
-
|
I did some tests. Resolver seems to work fine with type=PERSON. Password is being unset because it is not listed in parameters. SnowDDL thinks user is not supposed to have a password and unsets it. Ways to fix this:
|
Beta Was this translation helpful? Give feedback.
-
|
we have not provided passwords from the very beginning & earlier passwords were not reset on deployments. the only change we have deployed recently is:
ill explore fernet & how it can be implemented but this is causing issues to prod rn. what can be done to keep the earlier flow, we let user reset on first login after manual reset & this way only he has the password? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, we added user types to user.yaml file.
Since then there is an alter statement that is unsetting the passwords.
We are not able to understand from the documentation as to what is causing these password resets.
SnowDDL CLI Command deploying SnowDDL:
snowddl --env-prefix dev --placeholder-values="{\"env\":\"dev\", \"aws_account_id\":\"***\"}" --apply-unsafe applySample type=person user:
Beta Was this translation helpful? Give feedback.
All reactions