#4700·floci

CloudFormation AWS::ApiGateway::Authorizer drops ProviderARNs, so COGNITO_USER_POOLS authorizers reject every token

Author: danielxoiCreated Sep 29, 2026Updated Sep 30, 2026
Labelsbugapigatewaycloudformation

AWS::ApiGateway::Authorizer in a CloudFormation template drops ProviderARNs. A COGNITO_USER_POOLS authorizer is created with no user pool, so every request through a method it guards is rejected with 401 before the token is inspected (CognitoUserPoolAuthorizer returns UNAUTHORIZED when the list is empty).

GetTemplate returns the property, so the template is intact; GetAuthorizer on the created authorizer shows no providerARNs. Creating the same authorizer through the SDK (CreateAuthorizer with providerARNs) works, as does an OpenAPI import with x-amazon-apigateway-authorizer.

Cause: ApiGatewayRestApiCfnProvisioner.provisionAuthorizer reads Name, Type, AuthorizerUri, IdentitySource and AuthorizerResultTtlInSeconds and never reads ProviderARNs. PR to follow.