【问题标题】:Amplify Init tutorial problem initializing project in the cloudAmplify Init 教程问题在云端初始化项目
【发布时间】:2019-03-17 07:57:23
【问题描述】:

我一直在努力学习本教程

https://github.com/aws-samples/aws-mobile-android-notes-tutorial/blob/master/tutorial/analytics.md

我遇到了这个错误

我尝试在 AWS 控制台中添加更多 IAM 配置文件,但当我重新运行 amplify init 时,我没有看到它们显示为选项。我正在使用 Windows 10。

【问题讨论】:

    标签: android amazon-web-services aws-amplify


    【解决方案1】:

    在填充可用配置文件列表时,Amplify 不会从 AWS 中提取配置文件。您可以手动将密钥添加到 ~/.aws/credentials 文件,以使它们显示在 CLI 中。这是为您的系统保存配置文件的位置(这不是特定于放大的,这是所有 aws 配置文件凭据所在的位置)。

    【讨论】:

    • 配置文件实际上在 ~/.aws/credentials 文件中。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-07-21
    • 1970-01-01
    • 2022-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多