VARIABLES IN TERRAFORM Task 7

Hi I have created variables.tf file and provided syntax but still getting error can anyone help me on this

Hello @kranthi1385,
I’ve checked and it should be working fine, Kindly try again to create a file is called variables.tf
And then add these lines in it

variable filename {
  type = string
}

Thanks i am able to work