gpt4 book ai didi

amazon-web-services - 如何为 lambda serverless 创建子域?

转载 作者:行者123 更新时间:2023-12-03 07:46:58 25 4
gpt4 key购买 nike

我正在尝试使用此脚本为 lambda 创建自定义域。我收到有关 aws 的错误。

 plugins:
- serverless-domain-manager

custom:
customDomain:
domainName: transcoder.iflix-dev.com
basePath: ''
stage: ${self:provider.stage}
createRoute53Record: true

After that run sls create sls create_domain -s development -v

Then deploy sls deploy -s development -v

最佳答案

Error: 'transcoder.esfeasdesfcs.com.' was not created in API Gateway. BadRequestException: Trailing period should be omitted from domain name

如错误消息中所述,您的域名无效。

transcoder.esfeasdesfcs.com.

不是有效的域名。尝试使用

transcoder.esfeasdesfcs.com

没有尾随句点。

关于amazon-web-services - 如何为 lambda serverless 创建子域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50354807/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com