Skip to content

[@aws-cdk/pipelines] Maximum policy size of 10240 bytes exceeded for role #9316

@seawatts

Description

@seawatts

❓ General Issue

The Question

After adding around 5 stacks to a single Pipeline Application (Stage) the pipeline references 15 assets and new reused PipelineAssetRole policy grows to be too large, blocking the pipeline and making it unusable.

Just tried out the latest fix (#9243) with v1.55.0 But now I am seeing this error when deploying.

Maximum policy size of 10240 bytes exceeded for role PipelineStack-PipelineAssetsRole9B011X83-1UOLXJQTUXXXX

Environment

  • CDK CLI Version: 1.55.0 (build 48ccf09)
  • Module Version: 1.55.0
  • Node.js Version: v14.5.0
  • OS: OSX Catalina
  • Language (Version): TypeScript (3.9.7)

Other information

Related:
#9225

Metadata

Metadata

Assignees

Labels

@aws-cdk/pipelinesCDK Pipelines librarybugThis issue is a bug.in-progressThis issue is being actively worked on.p1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions