Hi,
I am using AWS CLI to run this command
https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html
aws apigateway create-authorizer --rest-api-id "cxxxxxxb" --name "spool-finder-sp-admin" --type COGNITO_USER_POOLS
--provider-arns
"arn:aws:cognito-idp:us-east-1:xxxxxx:userpool/us-east-1_XXXXXXXX"
"arn:aws:cognito-idp:us-east-1:XXXXX:userpool/us-east-1_XXXXXXXX"
"arn:aws:cognito-idp:us-east-1:xxxxxxxx:userpool/us-east-1_XXXXXXXX"
--identity-source "method.request.header.Authorization"
But get this error
An error occurred (ConflictException) when calling the CreateAuthorizer operation: Unable to complete operation due to concurrent modification. Please try again later.
Scenario is I have to add 3 cognito pools as authorizer in my API Gateway via CLI.