Skip to content
Snippets Groups Projects
Commit a6c5fc1c authored by Nathan RODET's avatar Nathan RODET
Browse files

Update vars-deployment.json

parent 7e46fa9e
No related branches found
No related tags found
No related merge requests found
Pipeline #72741 failed
...@@ -4,22 +4,20 @@ ...@@ -4,22 +4,20 @@
"description": "Environment of the deployment, contained in domains, subdomains and resources name convention, should match the project name.", "description": "Environment of the deployment, contained in domains, subdomains and resources name convention, should match the project name.",
"masked": false, "masked": false,
"validation_type": "string", "validation_type": "string",
"validation_max_length": 30, "validation_regex": "^(?=.*[a-zA-Z])(?=.*\\d)[A-Za-z\\d]{4,30}$"
"validation_min_length": 4
}, },
{ {
"name": "TF_VAR_INSTANCES_COUNT", "name": "TF_VAR_INSTANCES_COUNT",
"description": "Number of instances to create.", "description": "Number of instances to create.",
"masked": false, "masked": false,
"validation_type": "number", "validation_type": "number",
"validation_max_length": 3, "validation_regex": "^\\d{1,3}$"
"validation_min_length": 1
}, },
{ {
"name": "TF_VAR_USER_PASSWORD", "name": "TF_VAR_USER_PASSWORD",
"description": "User password for accessing services and instances.", "description": "User password for accessing services and instances.",
"masked": true, "masked": true,
"validation_type": "regex", "validation_type": "password",
"validation_regex": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d]{12,}$" "validation_regex": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d]{12,}$"
} }
] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment