Skip to content

terraform version check fails for TF 0.13.5 #214

@solitaryr

Description

@solitaryr

We're moving to TF 0.13.5 from 0.12.23 and our circleci jobs are failing on the version check step with the following error

rm -rf .terraform
terraform init -input=false -backend=false -no-color "$module_path"
terraform version -input=false -no-color

Reading required terraform version .tfswitchrc
Switched terraform to version "0.13.5"
Terraform initialized in an empty directory!

The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
Usage: terraform version [options]

Displays the version of Terraform and all installed plugins

Options:

-json Output the version information as a JSON object.
Error parsing command-line flags: flag provided but not defined: -input

It looks like terraform version does not like the -input=false with TF 0.13.5 (I didn't try any others). Is there something I'm missing? Or is this actually a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions