how to pass variable value in terraform code example
Example: terraform define variable
variable "image_id" {
type = string
description = "The id of the machine image (AMI) to use for the server."
}
resource "some_resource" "resource_name" {
image = var.image_id
}