Skip to content

MI-331: Guard versioning aspect against CDK-managed singletons - #1752

Merged
toddhainsworth merged 1 commit into
mainfrom
feature/MI-331_guard-lambda-sfn-versioning-aspect-singletons
Aug 28, 2026
Merged

MI-331: Guard versioning aspect against CDK-managed singletons#1752
toddhainsworth merged 1 commit into
mainfrom
feature/MI-331_guard-lambda-sfn-versioning-aspect-singletons

Conversation

@toddhainsworth

Copy link
Copy Markdown
Member

Summary

LambdaAndStepFunctionVersioningAspect was versioning/aliasing CDK-managed singleton handlers (e.g. the BucketDeployment custom resource) it doesn't own. Adds the same isCdkManagedSingleton guard already used in resource-prefix.ts and microservice-checks.ts.

Test plan

  • New test: no alias created for the BucketDeployment handler
  • yarn nx test cdk-aspects — 69 passed
  • yarn nx lint cdk-aspects --fix — clean

…ed singletons

Add the same isCdkManagedSingleton check used in resource-prefix.ts and
microservice-checks.ts so the aspect no longer versions/aliases framework-owned
handlers (e.g. the BucketDeployment custom resource).
@toddhainsworth
toddhainsworth merged commit 78259eb into main Aug 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants