Demonstrate input variable definition with type, description and default parameters
Answer
variable "app_id" {
type = string
description = "The id of application"
default = "some_value"
}
Unrelated note: variables are usually defined in their own file (vars.tf for example).