Amplify Update failed after adding new cognito user group #9771
Unanswered
sportograf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After I have added a new group called "usermanagement" on amplify via
amplify update authamplify pushI've got the error, that no new group can be added and the already existing groups are not able to update.
I'am working with amplify 7.6.9
How do you guys added new groups to amplify?
Thanks in advance
`Updating resources in the cloud. This may take a few minutes...
CREATE_IN_PROGRESS usermanagementGroupRole AWS::IAM::Role Fri Jan 14 2022 16:20:41 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS photographersGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:41 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS adminGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:41 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS teamleadersGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:41 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS officeGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:42 GMT+0100 (Central European Standard Time)
CREATE_IN_PROGRESS usermanagementGroupRole AWS::IAM::Role Fri Jan 14 2022 16:20:42 GMT+0100 (Central European Standard Time) Resource creation Initiated
UPDATE_IN_PROGRESS RoleMapFunction AWS::Lambda::Function Fri Jan 14 2022 16:20:42 GMT+0100 (Central European Standard Time)
UPDATE_FAILED adminGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time) User: arn:aws:sts::158563094831:assumed-role/eu-central-1_F4a4TcEKa_Full-access/amplifyadmin is not authorized to perform: cognito-idp:UpdateGroup on resource: arn:aws:cognito-idp:eu-central-1:158563094831:userpool/eu-central-1_pi5dbGaS8 because no identity-based policy allows the cognito-idp:UpdateGroup action (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: AccessDeniedException; Request ID: 91c6fafd-7d17-434a-a40a-025067a6717f; Proxy: null)
UPDATE_FAILED teamleadersGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time) User: arn:aws:sts::158563094831:assumed-role/eu-central-1_F4a4TcEKa_Full-access/amplifyadmin is not authorized to perform: cognito-idp:UpdateGroup on resource: arn:aws:cognito-idp:eu-central-1:158563094831:userpool/eu-central-1_pi5dbGaS8 because no identity-based policy allows the cognito-idp:UpdateGroup action (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: AccessDeniedException; Request ID: 553339ce-71e4-4eac-bf67-376d566d32d8; Proxy: null)
UPDATE_FAILED photographersGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time) User: arn:aws:sts::158563094831:assumed-role/eu-central-1_F4a4TcEKa_Full-access/amplifyadmin is not authorized to perform: cognito-idp:UpdateGroup on resource: arn:aws:cognito-idp:eu-central-1:158563094831:userpool/eu-central-1_pi5dbGaS8 because no identity-based policy allows the cognito-idp:UpdateGroup action (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: AccessDeniedException; Request ID: a0518370-6a03-4372-aaba-01a210b3bf9c; Proxy: null)
⠇ Updating resources in the cloud. This may take a few minutes...
UPDATE_IN_PROGRESS Expense AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Allocation AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Event AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
⠦ Updating resources in the cloud. This may take a few minutes...
CREATE_FAILED usermanagementGroupRole AWS::IAM::Role Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time) Resource creation cancelled
UPDATE_FAILED officeGroup AWS::Cognito::UserPoolGroup Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time) Resource update cancelled
UPDATE_FAILED RoleMapFunction AWS::Lambda::Function Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time) Resource update cancelled
⠇ Updating resources in the cloud. This may take a few minutes...
UPDATE_IN_PROGRESS EventConnection AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS AreaGroup AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Salary AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS DispatchAreaGroup AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Booking AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Resource AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS UserSchedule AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS FunctionDirectiveStack AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_COMPLETE Expense AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS Dispatch AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_IN_PROGRESS EventType AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:43 GMT+0100 (Central European Standard Time)
UPDATE_COMPLETE Allocation AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time)
UPDATE_COMPLETE Salary AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time)
UPDATE_COMPLETE AreaGroup AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time)
UPDATE_COMPLETE Resource AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time)
⠹ Updating resources in the cloud. This may take a few minutes...
UPDATE_FAILED authuserPoolGroups AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:47 GMT+0100 (Central European Standard Time) Embedded stack arn:aws:cloudformation:eu-central-1:158563094831:stack/amplify-em20-sandtest-124707-authuserPoolGroups-19RE4V8T31HIK/90b15530-7471-11ec-bc47-0a2aeffe3bb2 was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to create: [usermanagementGroupRole]. The following resource(s) failed to update: [officeGroup, photographersGroup, RoleMapFunction, adminGroup, teamleadersGroup].
⠴ Updating resources in the cloud. This may take a few minutes...
UPDATE_ROLLBACK_IN_PROGRESS amplify-em20-sandtest-124707-authuserPoolGroups-19RE4V8T31HIK AWS::CloudFormation::Stack Fri Jan 14 2022 16:20:44 GMT+0100 (Central European Standard Time) The following resource(s) failed to create: [usermanagementGroupRole]. The following resource(s) failed to update: [officeGroup, photographersGroup, RoleMapFunction, adminGroup, teamleadersGroup].
⠇ Updating resources in the cloud. This may take a few minutes...`
Beta Was this translation helpful? Give feedback.
All reactions