Question from the Terraform : certification training test

How to access the current index in a resource using "count" in Terraform?