Skip to content

Commit 98b1127

Browse files
authored
Fixing check block and custom conditions redirects (#1209)
1 parent 782235a commit 98b1127

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/terraform-docs-common/redirects.jsonc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,28 @@
543543
"destination": "/terraform/language/v:version/validate",
544544
"permanent": true
545545
},
546+
// Custom conditions → validate
547+
{
548+
"source": "/terraform/language/expressions/custom-conditions",
549+
"destination": "/terraform/language/validate",
550+
"permanent": true
551+
},
552+
{
553+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/validate",
554+
"destination": "/terraform/language/v:version/expressions/custom-conditions",
555+
"permanent": true
556+
},
557+
{
558+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/expressions/custom-conditions",
559+
"destination": "/terraform/language/v:version/validate",
560+
"permanent": true
561+
},
562+
// Catch reference page going backwards
563+
{
564+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/check",
565+
"destination": "/terraform/language/v:version/checks",
566+
"permanent": true
567+
},
546568
// values → parameterize
547569
{
548570
"source": "/terraform/language/values",

0 commit comments

Comments
 (0)