You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: zero-module.yml
+37-15Lines changed: 37 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ requiredCredentials:
23
23
parameters:
24
24
- field: useExistingAwsProfile
25
25
label: "Use credentials from an existing AWS profile?"
26
+
info: "You can choose either a currently existing profile if you've already configured your AWS CLI, or manually enter a pair of AWS access keys."
26
27
options:
27
28
"yes": "Yes"
28
29
"no": "No"
@@ -36,6 +37,7 @@ parameters:
36
37
matchField: useExistingAwsProfile
37
38
- field: accessKeyId
38
39
label: AWS AccessKeyId
40
+
info: "AWS access is controlled by a pair of keys tied to a user account.\nhttps://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html "
39
41
envVarName: "AWS_ACCESS_KEY_ID"
40
42
conditions:
41
43
- action: KeyMatchCondition
@@ -44,54 +46,66 @@ parameters:
44
46
- field: secretAccessKey
45
47
envVarName: "AWS_SECRET_ACCESS_KEY"
46
48
label: AWS SecretAccessKey
49
+
info: "AWS access is controlled by a pair of keys tied to a user account.\nhttps://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html "
47
50
conditions:
48
51
- action: KeyMatchCondition
49
52
whenValue: "no"
50
53
matchField: useExistingAwsProfile
51
54
- field: githubAccessToken
52
55
label: "Github API Key to setup your repository and optionally CI/CD"
56
+
info: "This API key will let us set up new repositories to check in your code.\nhttps://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token"
53
57
envVarName: GITHUB_ACCESS_TOKEN
54
58
- field: region
55
59
label: Select AWS Region
60
+
info: "This is the region your resources will be created in.\nMost regions have all the same features and functionality, but depending on your product you may need to choose a different region for data sovereignty reasons."
56
61
options:
57
-
"us-west-2": "us-west-2 (Oregon)"
58
-
"us-east-1": "us-east-1 (N. Virginia)"
59
-
"us-east-2": "us-east-2 (Ohio)"
62
+
"us-east-1": "us-east-1 - US East (N. Virginia)"
63
+
"us-east-2": "us-east-2 - US East (Ohio)"
64
+
"us-west-2": "us-west-2 - US West (Oregon)"
65
+
"ca-central-1": "ca-central-1 - Canada (Central)"
66
+
"eu-west-1": "eu-west-1 - Europe (Ireland)"
67
+
"ap-southeast-1": "ap-southeast-1 - Asia Pacific (Singapore)"
60
68
- field: productionHostRoot
61
-
label: Production Root Host Name (e.g. mydomain.com) - this must be the root of the chosen domain, not a subdomain.
69
+
label: Production Root Host Name (e.g. mydomain.com)
70
+
info: "This must be the root of the chosen domain, not a subdomain. You will also be prompted for the subdomains to use for your application."
info: "The subdomain that will point to the static assets of your frontend hosted in Cloudfront."
68
78
default: app.
69
79
fieldValidation:
70
80
type: regex
71
81
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
72
-
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
82
+
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
73
83
- field: productionBackendSubdomain
74
84
label: Production Backend Host Name (e.g. api.)
85
+
info: "The subdomain that will point to the API of your backend running in Kubernetes."
75
86
default: api.
76
87
fieldValidation:
77
88
type: regex
78
89
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
79
90
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
80
91
- field: stagingHostRoot
81
-
label: Staging Root Host Name (e.g. mydomain-staging.com) - this must be the root of the chosen domain, not a subdomain.
92
+
label: Staging Root Host Name (e.g. mydomain-staging.com)
93
+
info: "This must be the root of the chosen domain, not a subdomain. You will also be prompted for the subdomains to use for your application.\nIt's recommended that you use different hostnames for staging and production instead of trying to have staging as a subdomain of your production domain."
info: "The subdomain that will point to the static assets of your frontend hosted in Cloudfront."
88
101
default: app.
89
102
fieldValidation:
90
103
type: regex
91
104
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
92
105
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
93
106
- field: stagingBackendSubdomain
94
107
label: Staging Backend Host Name (e.g. api.)
108
+
info: "The subdomain that will point to the API of your backend running in Kubernetes."
95
109
default: api.
96
110
fieldValidation:
97
111
type: regex
@@ -101,49 +115,57 @@ parameters:
101
115
label: Random seed that will be shared between projects to come up with deterministic resource names
102
116
execute: uuidgen | head -c 8
103
117
- field: userAuth
104
-
label: Enable user management using Kratos and authentication using the Oathkeeper access proxy?
118
+
label: Enable user management and auth access proxy?
119
+
info: "This will enable infrastructure and application code that uses Kratos for user management and the Oathkeeper access proxy.\nhttps://ory.sh"
105
120
default: yes
106
121
options:
107
122
"yes": "Yes"
108
123
"no": "No"
109
124
- field: CIVendor
110
-
label: Using either circleCI or github Actions to build / test your repository
125
+
label: Which CI vendor would you like to use?
126
+
info: "Build pipelines will be set up which will deploy your code to your infrastructure whenever PRs are merged to the main branch."
111
127
default: "circleci"
112
128
options:
113
-
"circleci": "CircleCi"
129
+
"circleci": "CircleCI"
114
130
"github-actions": "Github Actions"
115
131
- field: circleciApiKey
116
-
label: "Circle CI API Key to setup your CI/CD for repositories"
132
+
label: "CircleCI API Key"
133
+
info: "This will let us configure your CircleCI account to automatically enable CI for these newly created projects.\nhttps://circleci.com/docs/2.0/managing-api-tokens/"
117
134
envVarName: CIRCLECI_API_KEY
118
135
conditions:
119
136
- action: KeyMatchCondition
120
137
matchField: CIVendor
121
138
whenValue: "circleci"
122
139
- field: billingEnabled
123
-
label: "Provides a subscription example using stripe in backend and frontend repository"
140
+
label: "Enable billing support?"
141
+
info: "Provides a subscription example using stripe in the backend and frontend repositories."
124
142
options:
125
143
"yes": "Yes"
126
144
"no": "No"
127
145
- field: stagingStripePublicApiKey
128
-
label: "Staging Stripe public api key, used for frontend repository (Recommended: using sandbox key while setting up)"
146
+
label: "Staging Stripe public api key"
147
+
info: "Used for the frontend repository. It's recommended to use a sandbox key while getting set up."
129
148
conditions:
130
149
- action: KeyMatchCondition
131
150
matchField: billingEnabled
132
151
whenValue: "yes"
133
152
- field: stagingStripeSecretApiKey
134
-
label: "Staging Stripe secret api key, used for backend repository (Recommended: using sandbox key while setting up)"
153
+
label: "Staging Stripe secret api key"
154
+
info: "Used for the backend repository. It's recommended to use a sandbox key while getting set up."
135
155
conditions:
136
156
- action: KeyMatchCondition
137
157
matchField: billingEnabled
138
158
whenValue: "yes"
139
159
- field: productionStripePublicApiKey
140
-
label: "Production Stripe public api key, used for frontend repository (Recommended: using sandbox key while setting up)"
160
+
label: "Production Stripe public api key"
161
+
info: "Used for the frontend repository. It's recommended to use a sandbox key while getting set up."
141
162
conditions:
142
163
- action: KeyMatchCondition
143
164
matchField: billingEnabled
144
165
whenValue: "yes"
145
166
- field: productionStripeSecretApiKey
146
-
label: "Production Stripe secret api key, used for backend repository (Recommended: using sandbox key while setting up)"
167
+
label: "Production Stripe secret api key"
168
+
info: "Used for the backend repository. It's recommended to use a sandbox key while getting set up."
0 commit comments