-
Notifications
You must be signed in to change notification settings - Fork 28
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: output directory is not empty! #358
Comments
This behavior seems intentional and especially counterintuitive. terraform-provider-iterative/iterative/resource_task.go Lines 287 to 289 in be9e0cd
|
Yes there's nothing wrong with effectively |
Im not following this. |
🤔 If |
Using the same directory for input and output is known to produce all kinds of issues. Should we support this mode of operation? |
For one task is OK, errors comes with more than one task def or reusing the task |
I have created a fix, the order was not right. Now sets the output as the input if not defined and verifies the output to be OK if defined |
following #340:
results in
Error: output directory ./shared is not empty!
We should support having
output == input
. It may cause edge cases/issues, but we should fix said issues later. To an end-user,output=input
is a basic use case (default assumption for any pipeline). It's better to document/add FAQs for now saying "useoutput!=input
to fix your problems."The text was updated successfully, but these errors were encountered: