diff --git a/packages/aws-cdk/lib/commands/migrate.ts b/packages/aws-cdk/lib/commands/migrate.ts index 8a3b462877755..cac2efb513122 100644 --- a/packages/aws-cdk/lib/commands/migrate.ts +++ b/packages/aws-cdk/lib/commands/migrate.ts @@ -830,7 +830,7 @@ export class CfnTemplateGeneratorProvider { }).promise(); if (createTemplateOutput.GeneratedTemplateId === undefined) { - throw new Error('CreateGeneratedTemplate failed to retrun an Arn.'); + throw new Error('CreateGeneratedTemplate failed to return an Arn.'); } return createTemplateOutput; } diff --git a/packages/cdk-assets/test/private/docker-credentials.test.ts b/packages/cdk-assets/test/private/docker-credentials.test.ts index c4c3f45ce9edf..c7e6957f9bc66 100644 --- a/packages/cdk-assets/test/private/docker-credentials.test.ts +++ b/packages/cdk-assets/test/private/docker-credentials.test.ts @@ -104,7 +104,7 @@ describe('fetchDockerLoginCredentials', () => { }); describe('SecretsManager', () => { - test('returns the credentials sucessfully if configured correctly - domain', async () => { + test('returns the credentials successfully if configured correctly - domain', async () => { mockSecretWithSecretString({ username: 'secretUser', secret: 'secretPass' }); const creds = await fetchDockerLoginCredentials(aws, config, 'secret.example.com');