Skip to content

Commit

Permalink
better custom domain docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aecorredor committed Dec 4, 2024
1 parent 979f46e commit 5f8912e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/custom-domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const sslCert = new aws.acm.Certificate(
// my-api.execute-api.us-east-1.amazonaws.com and the domain name is
// my-domain.com, you would create a CNAME record that maps my-domain.com to
// my-api.execute-api.us-east-1.amazonaws.com.
// For example, with 2 environments, dev and prod:
// dev.api.my-domain.com: dev.api CNAME ${id}.execute-api.us-east-1.amazonaws.com.
// api.my-domain.com: api CNAME ${id}.execute-api.us-east-1.amazonaws.com.
const sslCertValidationRecord = new aws.route53.Record(
`${apiHandlerName}-ssl-cert-validation-record`,
{
Expand Down

0 comments on commit 5f8912e

Please sign in to comment.