A variable declaration describes an accepted input. A tfvars file supplies a value for that input using assignments, without another variable block.
Terraform loads terraform.tfvars automatically. Other names can be loaded with a var-file option, and auto.tfvars files follow their documented loading order. Keep environment values separate from a module’s reusable logic. In these tasks you edit terraform.tfvars and apply the resulting capacity. A quoted number can look right on the page while its type differs from a number. Check the declaration and the effective value together before you approve the plan.
A value file assigns the input; it does not declare another variable.