You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terragrunt.md
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,21 @@
2
2
3
3
https://terragrunt.gruntwork.io/
4
4
5
-
Thin wrapper around [Terraform](terraform.md), uses the same arguments as Terraform and passes them to the `terraform` command.
5
+
"Thin wrapper around [Terraform](terraform.md)" but adds lots of sourcing and templating capabilities.
6
+
7
+
Uses the same arguments as Terraform and passes them to the `terraform` command.
6
8
7
9
This was designed to reduce duplication when using Terraform code
8
10
and support things like variables, expressions, functions and relative roots in `provider` and `backend` blocks.
9
11
10
-
This is mainly applicable where people are deploying modules individually instead of from one larger code base run,
11
-
because Terraform is slow
12
-
(usually because it has to make lots of calls to cloud APIs to determine what changes need to be made).
12
+
Especially useful or running Terraform modules individually to save run time.
13
+
14
+
In CI/CD pipelines you often only want to deploy the modules which have changed individually instead of the entire
15
+
terraform code base, because Terraform is slow (usually because it has to make lots of calls to cloud APIs to determine
16
+
what changes need to be made).
13
17
14
-
In that case each module then needs its own backend configuration which is almost the same apart from key file path and is otherwise all duplication, which Terragrunt can source to deduplicate.
18
+
In that case each module then needs its own backend configuration which is almost the same apart from key file path and
19
+
is otherwise all duplication, which Terragrunt can source to deduplicate.
15
20
16
21
Advocates DRY configuration every 10 seconds, which ironically stands for Don't Repeat Yourself.
17
22
@@ -21,20 +26,22 @@ Someone needs to create a doc tool to DRY out all the Terragrunt documentation r
0 commit comments