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

Terraform_docs hook is not working with virtualbox shared folder #32

Closed
tataranovich opened this issue Jan 2, 2019 · 4 comments
Closed
Labels
area/virtualbox area/windows bug_with_workaround Something isn't working but there is a workaround documentation Improvements or additions to documentation estimate/1h Need 1 hour to be done hook/terraform_docs Bash hook stale Denotes an issue or PR has remained open with no activity and has become stale. wontfix This will not be worked on

Comments

@tataranovich
Copy link

When virtualbox shared folder is hosted by Windows you get all limitations of Windows filesystems (can't rename or delete open file). terraform_docs.sh script is using perl's -i option which is not working with vboxsf mountpoints - in this case perl tries to delete open file. Perl options like -i.bak also won't help since perl will try to "rename" open file.

I tried sed and it's working fine with shared folders. Possible fix could be python-native, sed or something else.

@MaxymVlasov MaxymVlasov added the bug Something isn't working label Aug 19, 2021
@MaxymVlasov
Copy link
Collaborator

@tataranovich

  1. do you find any workaround?
  2. Is this request still actual?

@tataranovich
Copy link
Author

@MaxymVlasov I'm using a workaround - export CIFS/NFS share from VirtualBox and mount it as a network drive in Windows.

@MaxymVlasov
Copy link
Collaborator

TBD: add workaround to docs.

@tataranovich could I ask you to create PR with a how-to on that workaround? Somewhere in README

@MaxymVlasov MaxymVlasov added hook/terraform_docs Bash hook documentation Improvements or additions to documentation bug_with_workaround Something isn't working but there is a workaround wontfix This will not be worked on estimate/1h Need 1 hour to be done and removed bug Something isn't working labels Sep 3, 2021
@MaxymVlasov MaxymVlasov added this to the Bug and docs fixes milestone Sep 9, 2021
@github-actions
Copy link

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@github-actions github-actions bot added the stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/virtualbox area/windows bug_with_workaround Something isn't working but there is a workaround documentation Improvements or additions to documentation estimate/1h Need 1 hour to be done hook/terraform_docs Bash hook stale Denotes an issue or PR has remained open with no activity and has become stale. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants