Skip to content

Commit

Permalink
Merge pull request #852 from hashicorp/fix-issue-link
Browse files Browse the repository at this point in the history
fix(hcl2cdk): adjust link for label renaming
  • Loading branch information
DanielMSchmidt committed Jul 28, 2021
2 parents 840e195 + 0c77c89 commit b6017b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@cdktf/hcl2cdk/lib/index.ts
Expand Up @@ -35,7 +35,7 @@ export async function convertToTypescript(hcl: string) {
json = await parse("terraform.tf", hcl);
} catch (err) {
throw new Error(
`Error: Could not parse HCL, this means either that the HCL passed is invalid or that you found a bug. If the HCL seems valid, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+convert&template=bug-report.md&title=`
`Error: Could not parse HCL, this means either that the HCL passed is invalid or that you found a bug. If the HCL seems valid, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+feature%2Fconvert&template=bug-report.md&title=`
);
}

Expand All @@ -44,7 +44,7 @@ export async function convertToTypescript(hcl: string) {
try {
plan = schema.parse(json);
} catch (err) {
throw new Error(`Error: HCL-JSON does not conform to schema. This is not expected, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+convert&template=bug-report.md&title=
throw new Error(`Error: HCL-JSON does not conform to schema. This is not expected, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+feature%2Fconvert&template=bug-report.md&title=
Please include this information:
${JSON.stringify((err as z.ZodError).errors)}`);
}
Expand Down

0 comments on commit b6017b6

Please sign in to comment.