![Forrest logo](/images/logo.png)
terragrunt:tldr:b82c1
The command "terragrunt run-all apply" is used to execute the Terraform apply command across all Terraform modules within a specified directory. Here is the breakdown of each part of the command:
-
"terragrunt": Terragrunt is a thin wrapper around Terraform that adds extra functionality and simplifies the use of Terraform in large-scale or complex infrastructures. It is used to manage multiple Terraform configurations, improve remote state management, enforce best practices, and much more.
-
"run-all": This is a Terragrunt command that instructs Terragrunt to execute a specific command across all Terraform modules within a specified directory. In this case, the command to be executed is "apply".
-
"apply": This is a Terraform command that is responsible for creating or updating resources defined within your Terraform configuration files. It reads the configuration files, plans the changes needed to reach the desired state, and applies those changes to the infrastructure.
Overall, "terragrunt run-all apply" is a command that executes the Terraform apply command on all Terraform modules within a specified directory, allowing for the creation or update of infrastructure resources across multiple modules simultaneously.