Terraform | Episode 45 | Terraform for_each meta-argument | Understanding for_each meta-argument.

Опубликовано: 04 Октябрь 2024
на канале: DGR Uploads
512
54

====================================================================
Subscribe :    / @dgruploads  
====================================================================

Hello,

In this session, we will look at the for_each meta-argument. Be default, Terraform creates one resource for each resource block. If you want to create multiple resources, we can make use of the count meta-argument and for_each meta-argument. The difference is that, count meta-argument can be used to create multiple resources with the same configuration. for_each meta-argument can be used to create multiple resources with different configuration.

GitHub link for code - https://github.com/Dgruploads/Terrafo...

Happy learning!!