Changing Metabase password complexity

I have Metabase hosted in AWS. I would like to change the password length.
I read that you need to do:

export MB_PASSWORD_COMPLEXITY=strong
export MB_PASSWORD_LENGTH=10

I tried changing the env variables in the Elastic Beanstalk where I have configured Metabase but doesn't work.

Any help?

Can you show a screenshot? "Export" word is not needed, you need to use just the env var and The value

Ah sorry, I meant that in the following part:

I added MB_PASSWORD_LENGTH in column Name and a number in column Value. When applying the change, elastic beanstalk has errors. Tried to create a new user and the password length is still 6.

@karina.blanco Post "Diagnostic Info" from Admin > Troubleshooting, and the log showing the errors when you apply changes.