[英]ASK-CLI deploy not working for hosting 'AWS with CloudFormation' - Alexa region "default": Access Denied
我已经能够部署。
运行aws configure
,我调用ask new
,我认为解决方案是不选择AWS With CloudFormation而是选择AWS Lambda :
我想使用我之前在 Web UI 中创建的现有技能。 所以我创建了两个文件夹: lambda
和skill-package
。 然后我使用ask init
说我不想使用AWS CloudFormation进行部署:
接下来,我在ask-resources.json
SkillInfrastructure下添加了我的区域:
{
"askcliResourcesVersion": "2020-03-31",
"profiles": {
"default": {
"skillMetadata": {
"src": "./skill-package"
},
"code": {
"default": {
"src": "./lambda"
}
},
"skillInfrastructure": {
"type": "@ask-cli/lambda-deployer",
"userConfig": {
"runtime": "nodejs12.x",
"handler": "index.js",
"awsRegion": "eu-west-1"
}
}
}
}
}
我完成了ask deploy
工作!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.