While setting up Rancher using the quickstart on DigitalOcean for the first time, it failed because of the length of the password I provided. The specific error message is:
Error: [ERROR] Updating Admin password: [ERROR] Setting admin password: Bad response statusCode [422]. Status [422 Unprocessable Entity]. Body: [message=Password must be at least 12 characters, baseType=error, code=InvalidBodyContent] from [https://rancher.<IP address redacted>.sslip.io/v3/users/user-r9zs7?action=setpassword]
│
│ with module.rancher_common.rancher2_bootstrap.admin,
│ on ..\rancher-common\rancher.tf line 4, in resource "rancher2_bootstrap" "admin":
│ 4: resource "rancher2_bootstrap" "admin" {
It would be nice if we could add a comment in terraform.tfvars.example to mention that the password length must be at least 12 characters. This probably applies to all providers since it's the Rancher admin password. I would add a comment like:
While setting up Rancher using the quickstart on DigitalOcean for the first time, it failed because of the length of the password I provided. The specific error message is:
It would be nice if we could add a comment in terraform.tfvars.example to mention that the password length must be at least 12 characters. This probably applies to all providers since it's the Rancher admin password. I would add a comment like:
If you prefer a PR from me, let me know.