Goal
Use the for_each meta-argument to create three buckets from one resource block.
Requirements
- One
aws_s3_bucketresource usingfor_each - It must create exactly:
certland-labs-alpha,certland-labs-beta,certland-labs-gamma
Multiplying resources, explicit dependencies, and lifecycle controls.
🔒 Unlock this course to read the material and run the labs.
See options to unlock →Use the for_each meta-argument to create three buckets from one resource block.
aws_s3_bucket resource using for_eachcertland-labs-alpha, certland-labs-beta, certland-labs-gamma🔒 Unlock the course to run this lab.