AWS Amplify: ошибка обновления cloudf✖ Произошла ошибка при переносе ресурсов в облако - PullRequest
0 голосов
/ 04 апреля 2020

Недавно я попытался создать sh новый проект усиления, который был настроен только с помощью Cognito. В терминале была выведена эта ошибка:

DELETE_COMPLETE          authcognitob75feaf3       AWS::CloudFormation::Stack Sun Apr ⠧ Updating resources in the cloud. This may take a few minutes...Error updating cloudf✖ An error occurred when pushing the resources to the cloud

Полный вывод:

$ amplify push
| Category | Resource name   | Operation | Provider plugin   |
| -------- | --------------- | --------- | ----------------- |
| Auth     | cognitob75feaf3 | Create    | awscloudformation |
? Are you sure you want to continue? Yes
⠴ Updating resources in the cloud. This may take a few minutes...

CREATE_IN_PROGRESS authcognitob75feaf3       AWS::CloudFormation::Stack Sun Apr 05 2020 02:32:40 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_IN_PROGRESS authcognitob75feaf3       AWS::CloudFormation::Stack Sun Apr 05 2020 02:32:39 GMT+0700 (Indochina Time)                            
UPDATE_IN_PROGRESS awsamplify-20200405022907 AWS::CloudFormation::Stack Sun Apr 05 2020 02:32:36 GMT+0700 (Indochina Time) User I⠧ Updating resources in the cloud. This may take a few minutes...

CREATE_IN_PROGRESS SNSRole                                                    AWS::IAM::Role             Sun Apr 05 2020 02:32:45 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_IN_PROGRESS SNSRole                                                    AWS::IAM::Role             Sun Apr 05 2020 02:32:44 GMT+0700 (Indochina Time)                            
CREATE_IN_PROGRESS awsamplify-20200405022907-authcognitob75feaf3-N15XWPZOSDSC AWS::CloudFormation::Stack Sun Apr 05 2020 02:32:40 GMT+0700 (Indochina Time) User Initiated  ⠙ Updating resources in the cloud. This may take a few minutes...

CREATE_COMPLETE    UserPoolClient    AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:09 GMT+0700 (Indochina Time)                            
CREATE_IN_PROGRESS UserPoolClient    AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:09 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_COMPLETE    UserPoolClientWeb AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:08 GMT+0700 (Indochina Time)                            
CREATE_IN_PROGRESS UserPoolClientWeb AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:08 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_IN_PROGRESS UserPoolClient    AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:07 GMT+0700 (Indochina Time)                            
CREATE_IN_PROGRESS UserPoolClientWeb AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:33:07 GMT+0700 (Indochina Time)                            
CREATE_COMPLETE    UserPool          AWS::Cognito::UserPool       Sun Apr 05 2020 02:33:04 GMT+0700 (Indochina Time)                            
CREATE_IN_PROGRESS UserPool          AWS::Cognito::UserPool       Sun Apr 05 2020 02:33:04 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_IN_PROGRESS UserPool          AWS::Cognito::UserPool       Sun Apr 05 2020 02:33:02 GMT+0700 (Indochina Time)                            
CREATE_COMPLETE    SNSRole           AWS::IAM::Role               Sun Apr 05 2020 02:32:59 GMT+0700 (Indochina Time)             ⠦ Updating resources in the cloud. This may take a few minutes...

CREATE_IN_PROGRESS UserPoolClientRole AWS::IAM::Role Sun Apr 05 2020 02:33:12 GMT+0700 (Indochina Time) Resource creation Initiated
CREATE_IN_PROGRESS UserPoolClientRole AWS::IAM::Role Sun Apr 05 2020 02:33:12 GMT+0700 (Indochina Time)                          ⠏ Updating resources in the cloud. This may take a few minutes...

CREATE_COMPLETE UserPoolClientRole AWS::IAM::Role Sun Apr 05 2020 02:33:26 GMT+0700 (I⠼ Updating resources in the cloud. This may take a few minutes...

CREATE_IN_PROGRESS UserPoolClientLambda AWS::Lambda::Function Sun Apr 05 2020 02:33:29⠏ Updating resources in the cloud. This may take a few minutes...

CREATE_FAILED awsamplify-20200405022907-authcognitob75feaf3-N15XWPZOSDSC AWS::CloudFormation::Stack Sun Apr 05 2020 02:33:44 GMT+0700 (Indochina Time) The following resource(s) failed to create: [UserPoolClientLambda].                                                                                                                                                                                                                                                                           
CREATE_FAILED UserPoolClientLambda                                       AWS::Lambda::Function      Sun Apr 05 2020 02:33:43 GMT+0700 (Indochina Time) The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: df1fc105-5078-471b-a6b9-6⠴ Updating resources in the cloud. This may take a few minutes...

UPDATE_ROLLBACK_IN_PROGRESS awsamplify-20200405022907 AWS::CloudFormation::Stack Sun Apr 05 2020 02:33:58 GMT+0700 (Indochina Time) The following resource(s) failed to create: [authcognitob75feaf3].                                                                                                                                                                                                  
CREATE_FAILED               authcognitob75feaf3       AWS::CloudFormation::Stack Sun Apr 05 2020 02:33:57 GMT+0700 (Indochina Time) Embedded stack arn:aws:cloudformation:us-east-2:939164860129:stack/awsamplify-20200405022907-authcognitob75feaf3-N15XWPZOSDSC/0bcd4ab0-76ab-11ea-a38b-02582149edd0 was not successfully created: The following resource(s) failed to create: [UserPoolClientLam⠸ Updating resources in the cloud. This may take a few minutes...

DELETE_IN_PROGRESS                           authcognitob75feaf3                                        AWS::CloudFormation::Stack   Sun Apr 05 2020 02:34:16 GMT+0700 (Indochina Time)               
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS awsamplify-20200405022907                                  AWS::CloudFormation::Stack   Sun Apr 05 2020 02:34:15 GMT+0700 (Indochina Time)               
DELETE_IN_PROGRESS                           UserPoolClientRole                                         AWS::IAM::Role               Sun Apr 05 2020 02:34:19 GMT+0700 (Indochina Time)               
DELETE_COMPLETE                              UserPoolClientLambda                                       AWS::Lambda::Function        Sun Apr 05 2020 02:34:18 GMT+0700 (Indochina Time)               
DELETE_IN_PROGRESS                           UserPoolClientWeb                                          AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:34:18 GMT+0700 (Indochina Time)               
DELETE_IN_PROGRESS                           awsamplify-20200405022907-authcognitob75feaf3-N15XWPZOSDSC AWS::CloudFormation::Stack   Sun Apr 05 2020 02:34:17 GMT+0700 (Indo⠏ Updating resources in the cloud. This may take a few minutes...

DELETE_COMPLETE    awsamplify-20200405022907-authcognitob75feaf3-N15XWPZOSDSC AWS::CloudFormation::Stack   Sun Apr 05 2020 02:34:27 GMT+0700 (Indochina Time) 
DELETE_COMPLETE    SNSRole                                                    AWS::IAM::Role               Sun Apr 05 2020 02:34:26 GMT+0700 (Indochina Time) 
DELETE_IN_PROGRESS SNSRole                                                    AWS::IAM::Role               Sun Apr 05 2020 02:34:25 GMT+0700 (Indochina Time) 
DELETE_COMPLETE    UserPool                                                   AWS::Cognito::UserPool       Sun Apr 05 2020 02:34:24 GMT+0700 (Indochina Time) 
DELETE_IN_PROGRESS UserPool                                                   AWS::Cognito::UserPool       Sun Apr 05 2020 02:34:23 GMT+0700 (Indochina Time) 
DELETE_COMPLETE    UserPoolClient                                             AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:34:22 GMT+0700 (Indochina Time) 
DELETE_IN_PROGRESS UserPoolClient                                             AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:34:21 GMT+0700 (Indochina Time) 
DELETE_COMPLETE    UserPoolClientRole                                         AWS::IAM::Role               Sun Apr 05 2020 02:34:20 GMT+0700 (Indochina Time) 
DELETE_COMPLETE    UserPoolClientWeb                                          AWS::Cognito::UserPoolClient Sun Apr 05 2020 02:34:⠹ Updating resources in the cloud. This may take a few minutes...

UPDATE_ROLLBACK_COMPLETE awsamplify-20200405022907 AWS::CloudFormation::Stack Sun Apr 05 2020 02:34:39 GMT+0700 (Indochina Time) 
DELETE_COMPLETE          authcognitob75feaf3       AWS::CloudFormation::Stack Sun Apr ⠧ Updating resources in the cloud. This may take a few minutes...Error updating cloudf✖ An error occurred when pushing the resources to the cloud

Я прилагаю скриншот моих журналов облачной информации. Кто-нибудь знает, что может вызвать сбой pu sh?

// lubuntu 18.04

owner@G700:~/PhpstormProjects/aws_amplify$ amplify --version
0.1.38

cloudformation errors

Дополнительная информация

Пользователь IAM получил AdministratorAccess привилегий (только для первоначального тестирования). Я удостоверился, что выбрал этого пользователя / профиль во время amplify init

Выбранный мной регион us-east-2

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...