Skip to content

Support terraform Terraform v0.15 and above #94

@BnkColon

Description

@BnkColon

I created an image with Terraform v1.3.7 and covalence-0.9.9. When I try to run terraform against it, it returns

Too many command line arguments. Did you mean to use -chdir?

According to the terraform upgrade guides, is because they changed the way we switch working directory.

The error message Terraform returned is suggesting that you use the -chdir option, like this:

terraform -chdir=./terraform init -input=false -backend=false
terraform -chdir=./terraform validate

Can covalence support this upgrade?


Version validations:

'terraform version'
...
Status: Downloaded newer image for <Name>:0.1.3
Terraform v1.3.7
on linux_amd64

Your version of Terraform is out of date! The latest version
is 1.3.8. You can update by downloading from https://www.terraform.io/downloads.html
'bundle show covalence'
/opt/gems/ruby/2.5.0/gems/covalence-0.9.9

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