From 7541eb205b3cf1c2a2a30b2c53400b67bcd6a749 Mon Sep 17 00:00:00 2001 From: Jeremy Chadwick Date: Mon, 4 Sep 2023 02:04:31 -0700 Subject: [PATCH] Update index.mdx Fix local anchor link (should be to Syntax section). --- website/docs/language/checks/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/checks/index.mdx b/website/docs/language/checks/index.mdx index fe0c45b09a..c0905da06f 100644 --- a/website/docs/language/checks/index.mdx +++ b/website/docs/language/checks/index.mdx @@ -97,7 +97,7 @@ Preconditions are unique amongst the custom conditions in that they execute _bef You can often use postconditions interchangeably with check blocks to validate resources and data sources. -For example, you can [rewrite the above `check` block example](#checks-syntax) to use a postcondition instead. The below code uses a `postcondition` block to validate that the Terraform website returns the expected status code of `200`. +For example, you can [rewrite the above `check` block example](#syntax) to use a postcondition instead. The below code uses a `postcondition` block to validate that the Terraform website returns the expected status code of `200`. ```hcl data "http" "terraform_io" {