【问题标题】:AccessDeniedExceptionnull (Service: AWSLambdaInternal; Status Code: 403 AmplifyAccessDeniedExceptionnull(服务:AWSLambdaInternal;状态代码:403 Amplify
【发布时间】:2021-05-01 06:22:35
【问题描述】:

在添加资源相同的问题后,在添加身份验证后,我在推动放大时遇到问题 放大添加身份验证 放大推动 我明白了

Following resources failed

Resource Name: UserPoolClientLambda (AWS::Lambda::Function)
Event Type: create
Reason: AccessDeniedExceptionnull (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: 8434d2a2-4287-4b79-b22f-5d95094436a0; Proxy: null)


× An error occurred when pushing the resources to the cloud

Resource is not in the state stackUpdateComplete
An error occurred during the push operation: Resource is not in the state stackUpdateComplete

我如何解决这个问题?

PS:放大cli是4.41.2版本

【问题讨论】:

标签: aws-amplify aws-amplify-cli


【解决方案1】:

终于搞明白了。 我的问题与我的用户暴露的 api 密钥案例有关。

我得到了 AWS 支持的帮助。最初,我只是要修复我的计费支付方式,他们提到他们锁定了我的帐户,因为 API 密钥暴露。他们引导我轮换我的 API 密钥,我只等了大约 3-5 小时才解锁我的帐户。

我按照同样的步骤试了一下,效果很好

$ amplify add auth
$ amplify push

【讨论】:

    猜你喜欢
    • 2021-05-01
    • 1970-01-01
    • 2016-01-18
    • 2023-02-21
    • 1970-01-01
    • 2019-03-24
    • 1970-01-01
    • 2021-12-13
    • 2022-12-30
    相关资源
    最近更新 更多