terraform init
terraform plan -var-file=variables.tfvars
terraform apply -var-file=variables.tfvars -auto-approve
Note:
If we are using file name as terraform.tfvars, not required to provide -var-file
in commands
terraform init
terraform plan
terraform apply -auto-approve