Question from the Terraform : certification training test

How to set a number variable in Terraform?

Medium

Consider the following variable declaration:

variable "instance_count" {
  type = number
  description = "number of instances to create"
}

What would be a correct tfvars file to feed this variable?

Author: Julien WITTOUCKStatus: PublishedQuestion passed 4 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!