In these multipart series, I gonna teach you how to use Terragrunt as a tool for keep the codes DRY.
As you know most of the companies using terraform to provision new environments and servers on public or private clouds and by adding #terragrunt to their #terraform , make more dynamic to their codes.
I am starting from the very basic and I assume you only have basic knowledge on Cloud and decided to increase your knowledge that can work as a #devops in a good company.
In First part I am starting to provision a network components and I will teach you what are resources and what are data resources and how we can retrieve information from a resource by data resource and in continue we will be familiar with outputs.
I second part, we will complete "Network" component by adding subnets, Internet Gateway, Route tables, Routes, Nat gateway and at the end we will convert it as a module to use it for any environment in any region and so on.
In next parts we will work with state files and how to retrieve data from them and how to use these data in another modules. we will build an application module and will use the data from network module on it.
Then we will focus on multi environments and how to use use Terragrunt to reduce codes and mange multi Environments.
Like | Share | Subscribe | Follow
terraform modules, terraform modules tutorial, terraform modules aws, terraform resources ,terraform Data source aws example,
#iac #terraform #coding #terraform modules #terraform output #terragrunt #terragrunt.hcl