【发布时间】:2018-03-30 09:06:23
【问题描述】:
在使用 developer.amazon.com 和 aws.amazon.com 的漂亮浏览器 GUI 之后,事情变得越来越严重,现在我想使用 ask-cli 来初始化 Alexa 技能及其 lambda 函数。
当我想ask init 时,它告诉我,我应该选择一个配置文件或创建一个新配置文件。两者都跳转到浏览器并使用 OAuth 来验证我的 ask 安装。
~ ask init
? Please create a new profile or overwrite the existing profile.
(Use arrow keys)
──────────────
❯ Create new profile
──────────────
Profile Associated AWS Profile
[default] ** NULL **
[aws_profile] ** NULL **
但 AWS 配置文件不会关联我的 AWS 配置文件。
如果我不将配置文件与 AWS 连接,我的 LamdaFunction 将不会加载/部署。
No AWS credential setup for profile: [default].
Lambda clone skipped. CLI lambda functionalities can be enabled
by running `ask init` again to add 'aws_profile' to ASK cli_config
如何正确连接我的 ask-cli?
【问题讨论】:
-
你运行的是什么版本? '问-v'
-
我必须重新启动命令行会话才能“重新加载”配置文件并识别令牌
标签: alexa-skill