Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ecr): allow creating repository uri to use tokens like cfn params #32053

Merged
merged 11 commits into from
Nov 8, 2024
Prev Previous commit
Next Next commit
Update packages/aws-cdk-lib/aws-ecr/lib/repository.ts
  • Loading branch information
paulhcsun authored Nov 7, 2024
commit 82658d8c4da426b5e74c0a0bca6c64d8fc72c055
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ecr/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export abstract class RepositoryBase extends Resource implements IRepository {

let isInputDigestCondition;

// Use the existing condition of the same Token is existed, and if not create a new one
// Use the existing condition of the Token if it already exists, and if not create a new one
if (tagOrDigest in this.tokenConditions) {
isInputDigestCondition = this.tokenConditions[tagOrDigest];
} else {
Expand Down