On this episode, I cover the use of count and for_each in infrastructure code with Terraform to create multiple infrastructure resources with minimal code. This episode also shows why the use of for_each is more powerful over the use of count.
Script to create terraform workspace:
https://github.com/dyordsabuzo/miscel...
If you wish to support this channel, please visit my Ko-fi page: https://ko-fi.com/pablosspot