diff --git a/packages/cdktf/test/app.test.ts b/packages/cdktf/test/app.test.ts index 38c23009db..586dc1dc42 100644 --- a/packages/cdktf/test/app.test.ts +++ b/packages/cdktf/test/app.test.ts @@ -90,7 +90,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 provider construct. Please make sure to add provider constructs [e.g. new RandomProvider(...)] to your stack 'MyStack' for the following providers: test-provider - + If you wish to ignore these validations, pass 'skipValidation: true' to your App configuration. " `); diff --git a/packages/cdktf/test/resource.test.ts b/packages/cdktf/test/resource.test.ts index 2f9f5faeb9..16273781ed 100644 --- a/packages/cdktf/test/resource.test.ts +++ b/packages/cdktf/test/resource.test.ts @@ -206,7 +206,7 @@ test("tokens as ids", () => { name: "foo", }); }).toThrowErrorMatchingInlineSnapshot(` - "You cannot use a token (e.g., a reference to an attribute) as the id of a construct. Ids of constructs must be known at synthesis time, and token values are only known when Terraform runs. Please use a concrete value for your constructs ID instead. + "You cannot use a token (e.g., a reference to an attribute) as the id of a construct. Ids of constructs must be known at synthesis time, and token values are only known when Terraform runs. Please use a concrete value for your constructs ID instead. You passed the following id: "resource-\${TfToken[TOKEN.8]}" " `); diff --git a/packages/cdktf/test/stack.test.ts b/packages/cdktf/test/stack.test.ts index ab8c1fce41..695966f101 100644 --- a/packages/cdktf/test/stack.test.ts +++ b/packages/cdktf/test/stack.test.ts @@ -124,7 +124,7 @@ test("getting Stack for construct which was added to root app returns friendly e expect(() => new LocalBackend(app, {})).toThrowErrorMatchingInlineSnapshot(` "No stack could be identified for the construct at path 'backend'. You seem to have passed your root App as scope to a construct. Pass a stack (inheriting from TerraformStack) as scope to your construct instead. - You can only use constructs as part of a TerraformStack. + You can only use constructs as part of a TerraformStack. To learn more about Constructs vs. TerraformStacks, refer to: https://developer.hashicorp.com/terraform/cdktf/concepts/constructs#:~:text=Constructs%20vs.%20Stacks " diff --git a/packages/cdktf/test/validations.test.ts b/packages/cdktf/test/validations.test.ts index 791e41a5e4..028de0ae56 100644 --- a/packages/cdktf/test/validations.test.ts +++ b/packages/cdktf/test/validations.test.ts @@ -34,7 +34,7 @@ test("validations are executed recursively", () => { [MyStack/custom] custom_error_1 [MyStack/custom] custom_error_2 [MyStack/custom/nested] custom_nested_error - + If you wish to ignore these validations, pass 'skipValidation: true' to your App configuration. " `); @@ -82,7 +82,7 @@ describe("ValidateBinaryVersion", () => { expect(() => app.synth()).toThrowErrorMatchingInlineSnapshot(` "Validation failed with the following errors: [MyStack/testResource] terraform version 1.2.0 is lower than the required version >=1.3.0 for this construct. - + If you wish to ignore these validations, pass 'skipValidation: true' to your App configuration. " `); @@ -120,7 +120,7 @@ describe("ValidateBinaryVersion", () => { expect(() => app.synth()).toThrowErrorMatchingInlineSnapshot(` "Validation failed with the following errors: [MyStack/testResource] Could not determine version of terraform, exit 1 failed: Error: Command failed: exit 1 - + If you wish to ignore these validations, pass 'skipValidation: true' to your App configuration. " `); @@ -140,7 +140,7 @@ describe("ValidateBinaryVersion", () => { expect(() => app.synth()).toThrowErrorMatchingInlineSnapshot(` "Validation failed with the following errors: [MyStack/testResource] Could not determine version of terraform (running echo "foo") - + If you wish to ignore these validations, pass 'skipValidation: true' to your App configuration. " `);