diff --git a/packages/cdktf/lib/validations/validate-provider-presence.ts b/packages/cdktf/lib/validations/validate-provider-presence.ts index 6d65bb864e..801be80692 100644 --- a/packages/cdktf/lib/validations/validate-provider-presence.ts +++ b/packages/cdktf/lib/validations/validate-provider-presence.ts @@ -41,7 +41,7 @@ export class ValidateProviderPresence implements IValidation { return []; } else { return [ - `Found resources without a matching povider. Please make sure to add the following providers to your stack: ${missingProviders.join( + `Found resources without a matching provider. Please make sure to add the following providers to your stack: ${missingProviders.join( ", " )}`, ]; diff --git a/packages/cdktf/test/app.test.ts b/packages/cdktf/test/app.test.ts index ba2f1e68c8..cd56fcb52f 100644 --- a/packages/cdktf/test/app.test.ts +++ b/packages/cdktf/test/app.test.ts @@ -77,7 +77,7 @@ test("app synth throws error when provider is missing", () => { expect(() => app.synth()).toThrowErrorMatchingInlineSnapshot(` "Validation failed with the following errors: - [MyStack] Found resources without a matching povider. Please make sure to add the following providers to your stack: test-provider" + [MyStack] Found resources without a matching provider. Please make sure to add the following providers to your stack: test-provider" `); }); diff --git a/packages/cdktf/test/stack.test.ts b/packages/cdktf/test/stack.test.ts index 7fd115d996..468e69f831 100644 --- a/packages/cdktf/test/stack.test.ts +++ b/packages/cdktf/test/stack.test.ts @@ -98,7 +98,7 @@ test("stack validation returns error when provider is missing", () => { const errors = stack.node.validate(); expect(errors).toEqual([ - `Found resources without a matching povider. Please make sure to add the following providers to your stack: test-provider`, + `Found resources without a matching provider. Please make sure to add the following providers to your stack: test-provider`, ]); });