If we have files defined in this example, then to override a variable declared everywhere we could use such syntax:
$ terraform console -var="host_os=unix"
> var.host_os
"unix"
Instead of terraform console it could be terraform plan or terraform apply