forked from awslabs/aws-api-gateway-developer-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-dev-deployer.config.js
39 lines (32 loc) · 1.68 KB
/
example-dev-deployer.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// See `example-deployer.config.js` in this directory for setup instructions and the "Deployer
// configuration" section of `BUILDING.md` for documentation on each of the parameters.
//
// It's recommended you track your live deployments here. You can change this any time you want to
// do a fresh deployment.
// Live: 0
"use strict"
const n = 0
module.exports = {
buildAssetsBucket: 'YOUR_LAMBDA_ARTIFACTS_BUCKET_NAME',
// All of these are parametric over `n` so that if you need to have multiple stacks deployed
// during development or if you need to tear down a stack and don't want to wait for it to
// completely be torn down before deploying the replacement stack, you can just do it without
// much work.
stackName: `dev-portal${n}`,
siteAssetsBucket: `CUSTOM_PREFIX-dev-portal-static-assets${n}`,
apiAssetsBucket: `CUSTOM_PREFIX-dev-portal-artifacts${n}`,
cognitoDomainName: `CUSTOM_PREFIX-auth${n}`,
customersTableName: `DevPortalCustomers${n}`,
preLoginAccountsTableName: `DevPortalPreLoginAccounts${n}`,
feedbackTableName: `DevPortalFeedback${n}`,
// Optional, but highly recommended for easier identification.
cognitoIdentityPoolName: `DevPortalIdentityPool${n}`,
// Optional, but highly recommended so you can keep the site in sync with what's in the repo.
staticAssetRebuildMode: 'overwrite-content',
// Set development mode for local use.
developmentMode: true,
// Toggle this any time the edge lambda or its replicator lambda are updated. In general, unless
// either you're modifying them yourself or they were changed upstream and you just pulled those
// changes, you shouldn't need to do anything about this value.
// edgeLambdaResetToken: 'reset',
}