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
{{ message }}
This repository was archived by the owner on Feb 1, 2025. It is now read-only.
✨ feat(domains): rework how domains are passed, allow for many, auto-guess zone (#73, #79)
Allow for passing multiple domains. Get domains from CLI, automatically select the most fitting one.
BREAKING CHANGE: Changed CLI interface, different way to pass domains
#73, #79
Copy file name to clipboardExpand all lines: lib/cli.ts
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,7 @@ program
60
60
.option('--imageLambdaTimeout <sec>','Set timeout for lambda function handling image optimization.',Number,IMAGE_LAMBDA_DEFAULT_TIMEOUT)
61
61
.option('--imageLambdaMemory <mb>','Set memory for lambda function handling image optimization.',Number,IMAGE_LAMBDA_DEFAULT_MEMORY)
62
62
.option('--lambdaRuntime <runtime>',"Specify version of NodeJS to use as Lambda's runtime. Options: node14, node16, node18.",'node16')
63
-
.option('--hostedZone <domainName>','Hosted zone domain name to be used for creating DNS records (example: example.com).',undefined)
64
-
.option('--domainNamePrefix <prefix>','Prefix for creating DNS records, if left undefined, hostedZone will be used (example: app).',undefined)
63
+
.option('--domains <domainList>','Comma-separated list of domains to use. (example: mydomain.com,mydonain.au,other.domain.com)',undefined)
65
64
.option('--customApiDomain <domain>','Domain to forward the requests to /api routes, by default API routes will be handled by the server lambda.',undefined)
66
65
.option('--redirectFromApex','Redirect from apex domain to specified address.',false)
67
66
.option('--profile <name>','AWS profile to use with CDK.',undefined)
0 commit comments