Terraform HCL Loops With count and for_each
In this video, we'll cover Terraform looping constructs. Terraform is declarative, so it's looping structure may seem weird to those used to procedural programming loops. There are a few ways to performing looping with Terraform. We'll cover the looping constructs that specifically work at the resource level. They handle resource creation itself. There are two of them.
- count: This is often brought up when talking about looping with Terraform.
- for_each: This technique is similar to the count method but has some advantages. It should be generally used over count. We'll explain why in this video.
Links:
Google Console Guides
1h 54m
1h 54m
Terraform Fundamentals 101
1h 36m
1h 36m
Terraform HCL Fundamentals
1h 53m
1h 53m
Terraspace Fundamentals Google
2h 19m
2h 19m
Terraspace Cloud
2h 33m
2h 33m
Terraspace Google Cloud
1h 12m
1h 12m
Google GKE Kubernetes
3h 29m
3h 29m
Google GKE Kubes
1h 17m
1h 17m
Get full access to these great resources
All for less than the price of coffee a day
44 courses
286 lessons
46+ hours