Skip to content

Commit a74694e

Browse files
Docs/reference rewrites phrase 1 (#530)
1 parent 31382a1 commit a74694e

File tree

357 files changed

+25671
-16695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+25671
-16695
lines changed

content/terraform-docs-common/redirects.jsonc

Lines changed: 311 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,72 @@
316316
"destination": "/terraform/docs/tools",
317317
"permanent": true
318318
},
319+
// Moving resource configuration content
320+
{
321+
"source": "/terraform/language/resources/syntax",
322+
"destination": "/terraform/language/block/resource",
323+
"permanent": true
324+
},
325+
{
326+
"source": "/terraform/language/resources/behavior",
327+
"destination": "/terraform/language/resources",
328+
"permanent": true
329+
},
330+
// Resources content pre PR-530 (anything 1.11 and older)
331+
{
332+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/resource",
333+
"destination": "/terraform/language/v:version/resources/syntax",
334+
"permanent": true
335+
},
336+
{
337+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/resources/configure",
338+
"destination": "/terraform/language/v:version/resources/syntax",
339+
"permanent": true
340+
},
341+
{
342+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/resources/destroy",
343+
"destination": "/terraform/language/v:version/resources/syntax#removing-resources",
344+
"permanent": true
345+
},
346+
// Resources content post PR-530 (anything 1.12 and above)
347+
{
348+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/syntax",
349+
"destination": "/terraform/language/v:version/block/resource",
350+
"permanent": true
351+
},
352+
{
353+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/behavior",
354+
"destination": "/terraform/language/v:version/resources",
355+
"permanent": true
356+
},
357+
// Refactor provisioners
358+
{
359+
"source": "/terraform/language/resources/provisioners/null_resource",
360+
"destination": "/terraform/language/provisioners#run-provisioners-without-a-resource",
361+
"permanent": true
362+
},
363+
{
364+
"source": "/terraform/language/resources/provisioners/:slug((?!null_resource$).*)",
365+
"destination": "/terraform/language/provisioners",
366+
"permanent": true
367+
},
368+
// Provisioners content pre PR-530 (anything 1.11 and older)
369+
{
370+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/provisioners",
371+
"destination": "/terraform/language/v:version/resources/provisioners/syntax",
372+
"permanent": true
373+
},
374+
// Provisioners content post PR-530 (anything 1.12 and above)
375+
{
376+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/provisioners/null_resource",
377+
"destination": "/terraform/language/v:version/provisioners#run-provisioners-without-a-resource",
378+
"permanent": true
379+
},
380+
{
381+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/provisioners/:slug((?!null_resource$).*)",
382+
"destination": "/terraform/language/v:version/provisioners",
383+
"permanent": true
384+
},
319385
// Moving ephemeral up for 1.11 and 1.12
320386
{
321387
"source": "/terraform/language/resources/ephemeral/reference",
@@ -328,6 +394,251 @@
328394
"destination": "/terraform/language/v1.10.x/ephemeral",
329395
"permanent": true
330396
},
397+
// Moving modules syntax and source content to dedicated module block reference page
398+
{
399+
"source": "/terraform/language/modules/syntax",
400+
"destination": "/terraform/language/block/module",
401+
"permanent": true
402+
},
403+
{
404+
"source": "/terraform/language/modules/sources",
405+
"destination": "/terraform/language/modules/configuration",
406+
"permanent": true
407+
},
408+
// Modules content pre PR-530 (anything 1.11 and older)
409+
{
410+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/module",
411+
"destination": "/terraform/language/v:version/modules/syntax",
412+
"permanent": true
413+
},
414+
{
415+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/modules/configuration",
416+
"destination": "/terraform/language/v:version/modules/syntax",
417+
"permanent": true
418+
},
419+
// Module content post PR-530 (anything 1.12 and above)
420+
{
421+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/modules/syntax",
422+
"destination": "/terraform/language/v:version/block/module",
423+
"permanent": true
424+
},
425+
{
426+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/modules/sources",
427+
"destination": "/terraform/language/v:version/modules/configuration",
428+
"permanent": true
429+
},
430+
// Moving meta-arguments content to dedicated meta-arguments reference page
431+
{
432+
"source": "/terraform/language/meta-arguments/:slug",
433+
"destination": "/terraform/language/meta-arguments",
434+
"permanent": true
435+
},
436+
// meta-arguments content pre PR-530 (anything 1.11 and older)
437+
{
438+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/meta-arguments",
439+
"destination": "/terraform/language/v:version/meta-arguments/depends_on",
440+
"permanent": true
441+
},
442+
// meta-arguments content post PR-530 (anything 1.12 and above)
443+
{
444+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/meta-arguments/:slug",
445+
"destination": "/terraform/language/v:version/meta-arguments",
446+
"permanent": true
447+
},
448+
// Reference rewrites phase 1 - latest
449+
{
450+
"source": "/terraform/language/providers/configuration",
451+
"destination": "/terraform/language/block/provider",
452+
"permanent": true
453+
},
454+
// Pre-reference rewrites (anything 1.11 and below)
455+
{
456+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/provider",
457+
"destination": "/terraform/language/v:version/providers/configuration",
458+
"permanent": true
459+
},
460+
// Post reference rewrites (anything 1.12 and above)
461+
{
462+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/providers/configuration",
463+
"destination": "/terraform/language/v:version/block/provider",
464+
"permanent": true
465+
},
466+
// state/sensitive-data → manage-sensitive-data
467+
{
468+
"source": "/terraform/language/state/sensitive-data",
469+
"destination": "/terraform/language/manage-sensitive-data",
470+
"permanent": true
471+
},
472+
{
473+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/manage-sensitive-data",
474+
"destination": "/terraform/language/v:version/state/sensitive-data",
475+
"permanent": true
476+
},
477+
{
478+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/state/sensitive-data",
479+
"destination": "/terraform/language/v:version/manage-sensitive-data",
480+
"permanent": true
481+
},
482+
// ephemeral → block/ephemeral
483+
{
484+
"source": "/terraform/language/ephemeral",
485+
"destination": "/terraform/language/block/ephemeral",
486+
"permanent": true
487+
},
488+
{
489+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/ephemeral",
490+
"destination": "/terraform/language/v:version/ephemeral",
491+
"permanent": true
492+
},
493+
{
494+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/ephemeral",
495+
"destination": "/terraform/language/v:version/block/ephemeral",
496+
"permanent": true
497+
},
498+
// resources/ephemeral/write-only → manage-sensitive-data/write-only
499+
{
500+
"source": "/terraform/language/resources/ephemeral/write-only",
501+
"destination": "/terraform/language/manage-sensitive-data/write-only",
502+
"permanent": true
503+
},
504+
{
505+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/manage-sensitive-data/write-only",
506+
"destination": "/terraform/language/v:version/resources/ephemeral/write-only",
507+
"permanent": true
508+
},
509+
{
510+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/ephemeral/write-only",
511+
"destination": "/terraform/language/v:version/manage-sensitive-data/write-only",
512+
"permanent": true
513+
},
514+
// resources/ephemeral → manage-sensitive-data/ephemeral
515+
{
516+
"source": "/terraform/language/resources/ephemeral",
517+
"destination": "/terraform/language/manage-sensitive-data/ephemeral",
518+
"permanent": true
519+
},
520+
{
521+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/manage-sensitive-data/ephemeral",
522+
"destination": "/terraform/language/v:version/resources/ephemeral",
523+
"permanent": true
524+
},
525+
{
526+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/resources/ephemeral",
527+
"destination": "/terraform/language/v:version/manage-sensitive-data/ephemeral",
528+
"permanent": true
529+
},
530+
// checks → validate
531+
{
532+
"source": "/terraform/language/checks",
533+
"destination": "/terraform/language/validate",
534+
"permanent": true
535+
},
536+
{
537+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/validate",
538+
"destination": "/terraform/language/v:version/checks",
539+
"permanent": true
540+
},
541+
{
542+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/checks",
543+
"destination": "/terraform/language/v:version/validate",
544+
"permanent": true
545+
},
546+
// values → parameterize
547+
{
548+
"source": "/terraform/language/values",
549+
"destination": "/terraform/language/parameterize",
550+
"permanent": true
551+
},
552+
{
553+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/parameterize",
554+
"destination": "/terraform/language/v:version/values",
555+
"permanent": true
556+
},
557+
{
558+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/values",
559+
"destination": "/terraform/language/v:version/parameterize",
560+
"permanent": true
561+
},
562+
// values/locals → block/locals
563+
{
564+
"source": "/terraform/language/values/locals",
565+
"destination": "/terraform/language/block/locals",
566+
"permanent": true
567+
},
568+
{
569+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/locals",
570+
"destination": "/terraform/language/v:version/values/locals",
571+
"permanent": true
572+
},
573+
{
574+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/values/locals",
575+
"destination": "/terraform/language/v:version/block/locals",
576+
"permanent": true
577+
},
578+
// values/variables → block/variable
579+
{
580+
"source": "/terraform/language/values/variables",
581+
"destination": "/terraform/language/block/variable",
582+
"permanent": true
583+
},
584+
{
585+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/variable",
586+
"destination": "/terraform/language/v:version/values/variables",
587+
"permanent": true
588+
},
589+
{
590+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/values/variables",
591+
"destination": "/terraform/language/v:version/block/variable",
592+
"permanent": true
593+
},
594+
// values/outputs → block/output
595+
{
596+
"source": "/terraform/language/values/outputs",
597+
"destination": "/terraform/language/block/output",
598+
"permanent": true
599+
},
600+
{
601+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/output",
602+
"destination": "/terraform/language/v:version/values/outputs",
603+
"permanent": true
604+
},
605+
{
606+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/values/outputs",
607+
"destination": "/terraform/language/v:version/block/output",
608+
"permanent": true
609+
},
610+
// /terraform → block/terraform
611+
{
612+
"source": "/terraform/language/terraform",
613+
"destination": "/terraform/language/block/terraform",
614+
"permanent": true
615+
},
616+
{
617+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/terraform",
618+
"destination": "/terraform/language/v:version/terraform",
619+
"permanent": true
620+
},
621+
{
622+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/terraform",
623+
"destination": "/terraform/language/v:version/block/terraform",
624+
"permanent": true
625+
},
626+
// /moved → block/moved
627+
{
628+
"source": "/terraform/language/moved",
629+
"destination": "/terraform/language/block/moved",
630+
"permanent": true
631+
},
632+
{
633+
"source": "/terraform/language/v:version(1\\.(?:[1-9]|1[01])\\.x)/block/moved",
634+
"destination": "/terraform/language/v:version/moved",
635+
"permanent": true
636+
},
637+
{
638+
"source": "/terraform/language/v:version((?:1\\.(?:1[2-9]|[2-9]\\d)|[2-9]\\d*\\.\\d+)\\.x)/moved",
639+
"destination": "/terraform/language/v:version/block/moved",
640+
"permanent": true
641+
},
331642
// Terraform migrate docs moved to their own docs set
332643
{
333644
"source": "/terraform/cloud-docs/migrate/tf-migrate",

content/terraform-enterprise/v202408-1/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202409-1/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202409-2/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202409-3/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202410-1/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202411-1/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202411-2/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

content/terraform-enterprise/v202501-1/docs/enterprise/deploy/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the deployment configuration file for your runtime envi
55

66
# Create deployment configuration overview
77

8-
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](//terraform/enterprise/deploy/replicated) for instructions.
8+
This topic provides overview information about how to create the deployment configuration file for non-Replicated runtimes. If you are deploying Terraform Enterprise to Replicated, refer [Deploy to Replicated](/terraform/enterprise/deploy/replicated) for instructions.
99

1010
## Workflow
1111

0 commit comments

Comments
 (0)