Error: No configuration files

I am new to terraform and coder.

I am trying to use this template: https://github.com/coder/coder/tree/main/examples/templates/gcp-windows.

I copied the folder and added the line
default="projectId"


And I got the following error:

Terraform initialized in an empty directory!
The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
Terraform 1.5.7
Error: No configuration files
Plan requires configuration to be present. Planning without a configuration would mark everything for destruction, which is normally not what is desired. If you would like to destroy everything, run plan with the -destroy option. Otherwise, create a Terraform configuration file (.tf file) and try again.


Is there any sample template that works out of the box?
Was this page helpful?