forked from hashicorp/terraform-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirects.js
61 lines (61 loc) · 2.11 KB
/
redirects.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* Redirects in this file are intended to be for documentation content only. The redirects will be applied to developer.hashicorp.com.
*/
module.exports = [
// Temporary Redirects to defer new/moved cloud-docs pages to their older respective enterprise pages
// - https://github.com/hashicorp/terraform-docs-common-internal/pull/6
// - https://github.com/hashicorp/terraform-docs-common/pull/141
{
source: '/terraform/enterprise/policy-enforcement/sentinel/:path*',
destination: '/terraform/enterprise/sentinel/:path*',
permanent: false,
},
{
source: '/terraform/enterprise/policy-enforcement',
destination: '/terraform/enterprise/sentinel',
permanent: false,
},
// Redirects for restructured Terraform Plugin Framework docs for GA release of the Framework
// - https://github.com/hashicorp/terraform-plugin-framework/pull/554
// - https://github.com/hashicorp/terraform-docs-common/pull/252
{
source: '/terraform/plugin/which-sdk',
destination: '/terraform/plugin/framework-benefits',
permanent: true,
},
{
source: '/terraform/plugin/framework/schemas',
destination: '/terraform/plugin/framework/handling-data/schemas',
permanent: true,
},
{
source: '/terraform/plugin/framework/types',
destination: '/terraform/plugin/framework/handling-data/attributes',
permanent: true,
},
{
source: '/terraform/plugin/framework/paths',
destination: '/terraform/plugin/framework/handling-data/paths',
permanent: true,
},
{
source: '/terraform/plugin/framework/path-expressions',
destination: '/terraform/plugin/framework/handling-data/path-expressions',
permanent: true,
},
{
source: '/terraform/plugin/framework/accessing-values',
destination: '/terraform/plugin/framework/handling-data/accessing-values',
permanent: true,
},
{
source: '/terraform/plugin/framework/writing-state',
destination: '/terraform/plugin/framework/handling-data/writing-state',
permanent: true,
},
{
source: '/terraform/cloud-docs/workspaces/naming',
destination: '/terraform/cloud-docs/workspaces/creating',
permanent: true,
},
]