Create Multiple Resources
Learn to create multiple resources in Terraform.
Overview
This lesson covers different aspects of creating multiple instances of the same resource in Terraform.
In it, we’ll go over the following concepts:
- The
count
resource meta-argument.
-The splat ([*]
) operator.
-
The
for
loop in Terraform. -
The
for_each
resource meta-argument.
Importance
These techniques and keywords are essential for a firm understanding of Terraform. This is particularly true for systems and applications that need to scale their resources. For example, we might ...