Foreach

In this lesson we'll discuss the advanced "foreach" resource.

We'll cover the following

Foreach

The for_each construct allows you to create a set of resources similar to what we have just seen before by using the count. A for_each statement is more useful when you are projecting a set of values into a set of resources though.

Get hands-on with 1200+ tech skills courses.