Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get terraform validate to work #65

Closed
tonyxiao opened this issue Apr 6, 2018 · 1 comment
Closed

Unable to get terraform validate to work #65

tonyxiao opened this issue Apr 6, 2018 · 1 comment

Comments

@tonyxiao
Copy link

tonyxiao commented Apr 6, 2018

I'm getting the following error

terraform.validate: Failed:

Error: No Terraform configuration files found in directory: /Users/tony/Code/afedulov/terraform-fargate/terraform/templates

My workspace directory is here - https://github.com/afedulov/terraform-fargate/tree/master/terraform

Running terraform validate on the command line seems to work just fine. So i'm not sure why this is giving me issues.

@mauve
Copy link
Contributor

mauve commented Apr 9, 2018

the default configuration assumes that the terraform templates are stored in a folder called templates (see https://github.com/mauve/vscode-terraform/blob/master/package.json#L108-L112) relative to the workspace root.

In your case you probably want to change that configuration to terraform (you can do it in a per-workspace configuration if you want to)

@mauve mauve closed this as completed Apr 9, 2018
@ghost ghost locked and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants