diff --git a/packages/@aws-cdk/aws-ecr/lib/repository-ref.ts b/packages/@aws-cdk/aws-ecr/lib/repository-ref.ts index ed3c7685826b6..a9a074ada5166 100644 --- a/packages/@aws-cdk/aws-ecr/lib/repository-ref.ts +++ b/packages/@aws-cdk/aws-ecr/lib/repository-ref.ts @@ -241,7 +241,7 @@ class ImportedRepository extends RepositoryBase { this.repositoryArn = props.repositoryArn; } else { if (!props.repositoryName) { - throw new Error('If "repositoruyArn" is not specified, you must specify "repositoryName", ' + + throw new Error('If "repositoryArn" is not specified, you must specify "repositoryName", ' + 'which also implies that the repository resides in the same region/account as this stack'); }