Question from the Terraform : certification training test

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

Waiting for validation

What syntax is used to access the current index in a resource using count?

resource "aws_instance" "this" {
  count = 2
}
Author: Julien WITTOUCKStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!