We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't read the main.tf
e.g. Expected is returned value, though got: $ ~/go/bin/terraform-config-inspect --json | grep FarmProjects > null
$ ~/go/bin/terraform-config-inspect --json | grep FarmProjects
Testing with grep works: $ grep FarmProjects main.tf -A 2 -B 2
$ grep FarmProjects main.tf -A 2 -B 2
resource "aws_dynamodb_table" "projects_table" { name = "FarmProjects" billing_mode = "PAY_PER_REQUEST" hash_key = "ProjectId"
After all it seems main.tf isn't processed at all: ~/go/bin/terraform-config-inspect --json main.tf
~/go/bin/terraform-config-inspect --json main.tf
{ "path": "main.tf", "variables": {}, "outputs": {}, "required_providers": {}, "managed_resources": {}, "data_resources": {}, "module_calls": {}, "diagnostics": [ { "severity": "error", "summary": "Failed to read module directory", "detail": "Module directory main.tf does not exist or cannot be read." } ] }
The text was updated successfully, but these errors were encountered:
@RidaAyed Did you ever figure out the issue? I'm seeing the same thing.
Sorry, something went wrong.
No branches or pull requests
I can't read the main.tf
e.g. Expected is returned value, though got:
$ ~/go/bin/terraform-config-inspect --json | grep FarmProjects
> nullTesting with grep works:
$ grep FarmProjects main.tf -A 2 -B 2
After all it seems main.tf isn't processed at all:
~/go/bin/terraform-config-inspect --json main.tf
The text was updated successfully, but these errors were encountered: