When specifying the password parameter while creating a resource stack, if an incorrect password is entered, you cannot log on to the product instances that have been created.
When editing the stack template, specify the parameter attribute Confirm as true in the
Password block to solve this problem. If you configure
"Confirm": true in the template, you are required to confirm the password when creating a stack based on the template. That is, you must enter a same password twice when creating a stack, and you can create the stack successfully.
The method is as follows:
- Set the password parameter in the template. Example:
Note: The Confirm attribute can only be available when the value of NoEcho is true.
"Description": "The logon password of ECS instances",
"ConstraintDescription": "Consist of 8 to 41 characters of alphanumeric characters",
- When creating a stack in the ROS console, set and confirm the password for the instance on the Activate Stack page.