Using Terragrunt as a wrapper for Terraform
In the many years that I have worked and supported customers with Terraform, a recurring problem has prevented users from making full use of Terraform’s functionality. What I have noticed is that these users do not encounter any problems with the language and the writing of the provider’s resource configuration, but they do have difficulty with the automation of the Terraform client through the use of command lines in their workflow.
To simplify the automation of the Terraform workflow, whether for use on a local workstation or in a CI/CD pipeline, we can use Terragrunt as a Terraform wrapper that integrates the Terraform workflow.
What we will learn in this recipe is how to use Terragrunt (which we already studied in the previous recipe) as a Terraform wrapper.
Getting ready
For this recipe, we must have previously installed the Terragrunt binary on our workstations by following the instructions at https:/...