You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The created log groups do not have a default policy and that causes AWS to add more content to the regional resource policy, eventually reaching the limit of 5120 bytes.
10:40:31 AM | CREATE_FAILED | AWS::ApiGatewayV2::Stage | apiApiDefaultStageA626ED4D
Cannot enable logging. Policy document length breaking Cloudwatch Logs Constraints, either < 1 or > 5120 (Service: AmazonApiGatewayV2; Status Code: 400; Error Code: BadRequestException; Request ID: f34c406a-e69a-48de-b1a8-a68acd9cc0
70; Proxy: null)
In apibuilder.ts
const accessLogs = new logs.LogGroup(scope, "VAMS-API-AccessLogs");
In order to prevent that from happening (when deploying multiple stacks on the same region) something like this needs to be added
The created log groups do not have a default policy and that causes AWS to add more content to the regional resource policy, eventually reaching the limit of 5120 bytes.
In apibuilder.ts
In order to prevent that from happening (when deploying multiple stacks on the same region) something like this needs to be added
Same story in
uploadAssetWorkflowBuilder.ts
and potentially elsewhere.The text was updated successfully, but these errors were encountered: