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
# add in your serverless.yml
plugins:
- serverless-aws-function-url-custom-domain
custom:
urlDomain:
apiDomain: ${env:SUBDOMAIN}.yourdomain.com # change by your custom domain
hostedZoneName: yourdomain.com. # your domain Route 53 hosted zone name
certificateArn: 'arn:aws:acm:us-east-1:xxxxx:certificate/xxxxx' # need to be located at NVirgina
functions:
api:
handler: wsgi_handler.handler
url: true # activate function URL!
I could successfully make a lambda function with url, CloudFront, and route53 record.
Thanks for the suggestion. If I recall correctly, when this repo https://github.com/serverless/plugins gets updated, it will automatically fetches latest README with the fixes.
I found the following serverless.com web page. but a route53 record was not made.
https://www.serverless.com/plugins/serverless-aws-function-url-custom-domain
I could successfully make a lambda function with url, CloudFront, and route53 record.
So I would suggest you change the explanation on serverless.com to a later one.
The text was updated successfully, but these errors were encountered: