@@ -23,20 +23,44 @@ parameters:
2323 - " us-east-2"
2424 - field : productionHostRoot
2525 label : Production Root Host Name (e.g. mydomain.com) - this must be the root of the chosen domain, not a subdomain.
26+ fieldValidation :
27+ type : regex
28+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.{1})+[a-z]{2,}$'
29+ errorMessage : Invalid root domain name
2630 - field : productionFrontendSubdomain
2731 label : Production Frontend Host Name (e.g. app.)
2832 default : app.
33+ fieldValidation :
34+ type : regex
35+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.)$'
36+ errorMessage : Invalid subdomain (cannot contain special chars & must end with a '.')
2937 - field : productionBackendSubdomain
3038 label : Production Backend Host Name (e.g. api.)
3139 default : api.
40+ fieldValidation :
41+ type : regex
42+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.)$'
43+ errorMessage : Invalid subdomain (cannot contain special chars & must end with a '.')
3244 - field : stagingHostRoot
3345 label : Staging Root Host Name (e.g. mydomain-staging.com) - this must be the root of the chosen domain, not a subdomain.
46+ fieldValidation :
47+ type : regex
48+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.{1})+[a-z]{2,}$'
49+ errorMessage : Invalid root domain name
3450 - field : stagingFrontendSubdomain
3551 label : Staging Frontend Host Name (e.g. app.)
3652 default : app.
53+ fieldValidation :
54+ type : regex
55+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.)$'
56+ errorMessage : Invalid subdomain (cannot contain special chars & must end with a '.')
3757 - field : stagingBackendSubdomain
3858 label : Staging Backend Host Name (e.g. api.)
3959 default : api.
60+ fieldValidation :
61+ type : regex
62+ value : ' ^([a-z0-9]+(-[a-z0-9]+)*\.)$'
63+ errorMessage : Invalid subdomain (cannot contain special chars & must end with a '.')
4064 - field : accountId
4165 label : AWS Account ID
4266 execute : aws sts get-caller-identity --query "Account" | tr -d '"'
0 commit comments