I’m learning Terraform and while trying the basic practice The plan command prints the output asking user to change the argument name from file to filename on question 14. When I attempt to change the resource to filename I’m getting an error message: bash: resource command not found. Not sure what is going on. Anyone experience this issue.
Hello, I am on the Terraform Providers Lab now, question 10, that shows me the same error when I use the command to create a new resource type “local_file” resource Name: “xbox/.tf”
resource “local_file” “xbox” {
filename = “/root/xbox.txt”
content = “Wouldn’t mind an XBOX either!”
}
bash: resource command not found
Can you show the command you are running please? It should be a a terraform command, you are getting a bash error which would seem to indicate you are running the wrong command.