How do I set Terraform variables when using the CLI to create a template?

I init-ed a DigitalOcean template and customized it to my needs. I have a terraform.tfvars file next to the main.tf but when I run coder templates create I get the following error. How do I set these variables?

> Upload "."? (yes/no) 
✔ Queued [873ms]
✔ Adding README.md... [-1ms]
✔ Setting up [25ms]
✔ Parsing template parameters [15ms]
✘ Cleaning Up [10ms]
update job: required template variables need values: step1_do_project_id, step2_do_admin_ssh_key, gh_token
Was this page helpful?