A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
MIT License
1.77k
stars
874
forks
source link
[Hack Update] 001-IntroToKubernetes - Added minLength property to ARM template #832
This ensures the password length is 12 characters or more, if you provide a shorter password, the machine is created, but no password is set, and in order to follow the next step in the hack, you need to either delete the deployment, and make sure to redeploy with a correct length password, or change the password in the Azure Portal. This little change helps the user not make this mistake, sadly I could not find any means of validating the password complexity - ARM templates doesn't seem to have this feature, at least not to my knowledge.
This ensures the password length is 12 characters or more, if you provide a shorter password, the machine is created, but no password is set, and in order to follow the next step in the hack, you need to either delete the deployment, and make sure to redeploy with a correct length password, or change the password in the Azure Portal. This little change helps the user not make this mistake, sadly I could not find any means of validating the password complexity - ARM templates doesn't seem to have this feature, at least not to my knowledge.