Skip to content
New issue

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

Error with latest version of terraform mixin #104

Open
crosbygw opened this issue Dec 21, 2022 · 1 comment
Open

Error with latest version of terraform mixin #104

crosbygw opened this issue Dec 21, 2022 · 1 comment
Assignees
Labels

Comments

@crosbygw
Copy link

crosbygw commented Dec 21, 2022

Mixin version 1.0.0

Porter is adding the following RUN command during build which is causing the following error: #15 2.833 Too many command line arguments. Configuration path expected.
#15 ERROR: executor failed running [/bin/sh -c cd $BUNDLE_DIR/terraform && terraform init -backend=false && rm -fr .terraform/providers && terraform providers mirror /usr/local/share/terraform/plugins]: exit code: 1

RUN cd $BUNDLE_DIR/terraform &&
terraform init -backend=false &&
rm -fr .terraform/providers &&
terraform providers mirror /usr/local/share/terraform/plugins

I am using terraform 0.12.31 which does not support terraform provider mirrors.

@carolynvs
Copy link
Member

Thanks for raising that the mixin isn't compatible anymore with pre 1.0 versions of terraform. We will get the README updated with a compatibility matrix going forward so that we don't surprise people with breaking changes again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants