Skip to content

Calling tfenv from bash script results in syntax error #14

@rboarman-sc

Description

@rboarman-sc

Using this code, look at line 30:

https://github.com/cloudposse/terraform-root-modules/blob/master/aws/tfstate-backend/scripts/init.sh

Running the terraform project results in this error:

scripts/init.sh: eval: line 42: syntax error near unexpected token `('
make: *** [init] Error 2

Running tfenv straight from the command line works fine.

Given that the project does not compile under windows, I am unsure how to debug this further.

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