You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: unable to build CNAB invocation image: failed to stream docker build output: The command '/bin/sh -c cd /cnab/app/terraform && terraform init -backend=false' returned a non-zero code: 2
After making a directory named terraform at the root of the bundle, the build passes. Seems like we have a hard coded assumption about where the terraform files are kept that should more gracefully handle when it's not there, or return an error during lint.
The text was updated successfully, but these errors were encountered:
From the readme. The workingDir configuration setting is the relative path to your terraform files. Defaults to "terraform". So this is expected behavior but the lint may be possible?
I added workingDir after this issue was opened. 😀 Seems like we can still have a lint check that validates that the workdinDir exists, to avoid having the bundle predictably fail when it is run.
This results in the following error
After making a directory named terraform at the root of the bundle, the build passes. Seems like we have a hard coded assumption about where the terraform files are kept that should more gracefully handle when it's not there, or return an error during lint.
The text was updated successfully, but these errors were encountered: