api-gateway: Unable to create cross-partition Cognito User Pool Authorizer #31735
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
Describe the bug
I want to authenticate an api gateway rest api in us commercial cloud to a Cognito User Pool in us-gov cloud. When I try this, I get
ProviderARNs need to be valid Cognito Userpools
.I know I can make my own token authorizer or request authorizer, but a user pool authorizer would be more convenient.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Authorizer is created
Current Behavior
Authorizer is not created, and CDK deployment fails with
ProviderARNs need to be valid Cognito Userpools. Invalid ARNs- arn:aws-us-gov:cognito-idp:us-gov-west-1:...
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.162.0 (build c8d7dd3)
Framework Version
No response
Node.js Version
v20.17.0
OS
macOS
Language
TypeScript
Language Version
5.6.2
Other information
No response
The text was updated successfully, but these errors were encountered: