Error : An argument definition must end with a newline. - Terraform Basics course

resource “time_static” “time_update”{
resource “local_file” “time”{
filename = “/root/time.txt”
content = “Time stamp of this file is ${}”}

Note that the editor is telling you something is wrong with the squiggly red line indicated.

Place the } on a new line

You can then run terraform fmt to tidy it up.

Thanks a lot. I had a few more syntax errors. I was able to fix it, Thanks again for your support