Skip to content

"terragrunt version" prints interesting output #312

Open
@kevinburke

Description

@kevinburke

If I run

terragrunt --version

I get the following output:

 $ terragrunt --version
terragrunt version

If I run terragrunt version I get:

$ terragrunt version
[terragrunt] [/Users/kevin/src/github.com/gruntwork-io/terragrunt] 2017/10/09 12:30:41 Running command: terraform --version
[terragrunt] 2017/10/09 12:30:41 Reading Terragrunt config file at /Users/kevin/src/github.com/gruntwork-io/terragrunt/terraform.tfvars
[terragrunt] 2017/10/09 12:30:41 Error reading file at path /Users/kevin/src/github.com/gruntwork-io/terragrunt/terraform.tfvars: open /Users/kevin/src/github.com/gruntwork-io/terragrunt/terraform.tfvars: no such file or directory
[terragrunt] 2017/10/09 12:30:41 Unable to determine underlying exit code, so Terragrunt will exit with error code 1

It seems like there are at least two problems here, one is that terragrunt can't tell you the version, and one is that the return code was not determinable.

I'm running Terraform version 0.9.5. I downloaded Terragrunt today, but I can't tell you which version I use, unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions