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
+42-17Lines changed: 42 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ requiredCredentials:
24
24
parameters:
25
25
- field: useExistingAwsProfile
26
26
label: "Use credentials from an existing AWS profile?"
27
+
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."
27
28
options:
28
29
"yes": "Yes"
29
30
"no": "No"
@@ -37,6 +38,7 @@ parameters:
37
38
matchField: useExistingAwsProfile
38
39
- field: accessKeyId
39
40
label: AWS AccessKeyId
41
+
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 "
40
42
envVarName: "AWS_ACCESS_KEY_ID"
41
43
conditions:
42
44
- action: KeyMatchCondition
@@ -45,61 +47,74 @@ parameters:
45
47
- field: secretAccessKey
46
48
envVarName: "AWS_SECRET_ACCESS_KEY"
47
49
label: AWS SecretAccessKey
50
+
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 "
48
51
conditions:
49
52
- action: KeyMatchCondition
50
53
whenValue: "no"
51
54
matchField: useExistingAwsProfile
52
55
- field: githubAccessToken
53
56
label: "Github API Key to setup your repository and optionally CI/CD"
57
+
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"
54
58
envVarName: GITHUB_ACCESS_TOKEN
55
59
- field: region
56
60
label: Select AWS Region
61
+
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."
57
62
options:
58
-
"us-west-2": "us-west-2 (Oregon)"
59
-
"us-east-1": "us-east-1 (N. Virginia)"
60
-
"us-east-2": "us-east-2 (Ohio)"
63
+
"us-east-1": "us-east-1 - US East (N. Virginia)"
64
+
"us-east-2": "us-east-2 - US East (Ohio)"
65
+
"us-west-2": "us-west-2 - US West (Oregon)"
66
+
"ca-central-1": "ca-central-1 - Canada (Central)"
67
+
"eu-west-1": "eu-west-1 - Europe (Ireland)"
68
+
"ap-southeast-1": "ap-southeast-1 - Asia Pacific (Singapore)"
61
69
- field: productionHostRoot
62
-
label: Production Root Host Name (e.g. mydomain.com) - this must be the root of the chosen domain, not a subdomain.
70
+
label: Production Root Host Name (e.g. mydomain.com)
71
+
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."
69
79
default: app.
70
80
fieldValidation:
71
81
type: regex
72
82
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
73
83
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
74
84
- field: productionBackendSubdomain
75
85
label: Production Backend Host Name (e.g. api.)
86
+
info: "The subdomain that will point to the API of your backend running in Kubernetes."
76
87
default: api.
77
88
fieldValidation:
78
89
type: regex
79
90
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
80
91
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
81
92
- field: stagingHostRoot
82
-
label: Staging Root Host Name (e.g. mydomain-staging.com) - this must be the root of the chosen domain, not a subdomain.
93
+
label: Staging Root Host Name (e.g. mydomain-staging.com)
94
+
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."
89
102
default: app.
90
103
fieldValidation:
91
104
type: regex
92
105
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
93
106
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
94
107
- field: stagingBackendSubdomain
95
108
label: Staging Backend Host Name (e.g. api.)
109
+
info: "The subdomain that will point to the API of your backend running in Kubernetes."
96
110
default: api.
97
111
fieldValidation:
98
112
type: regex
99
113
value: '^([a-z0-9]+(-[a-z0-9]+)*\.)$'
100
114
errorMessage: Invalid subdomain (cannot contain special chars & must end with a '.')
101
115
- field: database
102
-
label: Database engine to use (postgres)
116
+
label: Database engine to use
117
+
info: "This will set up a database for you using RDS.\nIt will be accessible only by your application, credentials will be created automatically."
103
118
options:
104
119
"postgres": "PostgreSQL"
105
120
"mysql": "MySQL"
@@ -112,61 +127,71 @@ parameters:
112
127
- field: databaseName
113
128
execute: echo "$projectName"| sed "s/[- ]//g"
114
129
- field: fileUploads
115
-
label: Enable file uploads using S3 and Cloudfront signed URLs? (Will require manual creation of a Cloudfront keypair in AWS)
130
+
label: Enable file uploads using S3 and Cloudfront signed URLs?
131
+
info: "This will allow secure file uploads and downloads through your application.\nIt will require manual creation of a Cloudfront keypair in AWS. See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html"
116
132
default: yes
117
133
options:
118
134
"yes": "Yes"
119
135
"no": "No"
120
136
- field: userAuth
121
-
label: Enable user management using Kratos and authentication using the Oathkeeper access proxy?
137
+
label: Enable user management and auth access proxy?
138
+
info: "This will enable infrastructure and application code that uses Kratos for user management and the Oathkeeper access proxy.\nhttps://ory.sh"
122
139
default: yes
123
140
options:
124
141
"yes": "Yes"
125
142
"no": "No"
126
143
- field: apiType
127
-
label: What type of API do you want to expose?
144
+
label: Which type of API do you want to expose?
145
+
info: "REST is the most popular way of making HTTP APIs.\nGraphQL is newer but has some benefits when dealing with certain data types. https://www.graphql.com/"
128
146
default: rest
129
147
options:
130
148
"rest": "REST API"
131
149
"graphql": "GraphQL"
132
150
- field: CIVendor
133
-
label: Using either circleCI or github Actions to build / test your repository
151
+
label: Which CI vendor would you like to use?
152
+
info: "Build pipelines will be set up which will deploy your code to your infrastructure whenever PRs are merged to the main branch."
134
153
default: "circleci"
135
154
options:
136
-
"circleci": "CircleCi"
155
+
"circleci": "CircleCI"
137
156
"github-actions": "Github Actions"
138
157
- field: circleciApiKey
139
-
label: "Circle CI API Key to setup your CI/CD for repositories"
158
+
label: "CircleCI API Key"
159
+
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/"
140
160
envVarName: CIRCLECI_API_KEY
141
161
conditions:
142
162
- action: KeyMatchCondition
143
163
matchField: CIVendor
144
164
whenValue: "circleci"
145
165
- field: billingEnabled
146
-
label: "Provides a subscription example using stripe in backend and frontend repository, this includes the checkout feature so you must have a verified(with bank account setup) Stripe account to use these features"
166
+
label: "Enable billing support?"
167
+
info: "Provides a subscription example using stripe in the backend and frontend repositories."
147
168
options:
148
169
"yes": "Yes"
149
170
"no": "No"
150
171
- field: stagingStripePublicApiKey
151
-
label: "Staging Stripe public api key, used for frontend repository (Recommended: using sandbox key while setting up)"
172
+
label: "Staging Stripe public api key"
173
+
info: "Used for the frontend repository. It's recommended to use a sandbox key while getting set up."
152
174
conditions:
153
175
- action: KeyMatchCondition
154
176
matchField: billingEnabled
155
177
whenValue: "yes"
156
178
- field: stagingStripeSecretApiKey
157
-
label: "Staging Stripe secret api key, used for backend repository (Recommended: using sandbox key while setting up)"
179
+
label: "Staging Stripe secret api key"
180
+
info: "Used for the backend repository. It's recommended to use a sandbox key while getting set up."
158
181
conditions:
159
182
- action: KeyMatchCondition
160
183
matchField: billingEnabled
161
184
whenValue: "yes"
162
185
- field: productionStripePublicApiKey
163
-
label: "Production Stripe public api key, used for frontend repository (Recommended: using sandbox key while setting up)"
186
+
label: "Production Stripe public api key"
187
+
info: "Used for the frontend repository. It's recommended to use a sandbox key while getting set up."
164
188
conditions:
165
189
- action: KeyMatchCondition
166
190
matchField: billingEnabled
167
191
whenValue: "yes"
168
192
- field: productionStripeSecretApiKey
169
-
label: "Production Stripe secret api key, used for backend repository (Recommended: using sandbox key while setting up)"
193
+
label: "Production Stripe secret api key"
194
+
info: "Used for the backend repository. It's recommended to use a sandbox key while getting set up."
0 commit comments