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

Fix: generated project can't be run #179

Closed
Nihisil opened this issue Mar 24, 2023 · 0 comments · Fixed by #180
Closed

Fix: generated project can't be run #179

Nihisil opened this issue Mar 24, 2023 · 0 comments · Fixed by #180
Assignees
Labels
type : bug Something isn't working

Comments

@Nihisil
Copy link
Contributor

Nihisil commented Mar 24, 2023

Issue

There are errors when you are trying to init terraform with generated project.

The problem occurs in the most recent "develop" branch. However, if you generate the project from a released package, the problem does not happen.

Expected

The project that has been generated can be run.

Steps to reproduce

  1. bin/dev generate test-gen
  2. cd shared
  3. terraform init

Errors output:

Initializing modules...
- ecr in
╷
│ Error: Unreadable module directory
│
│ Unable to evaluate directory symlink: lstat modules: no such file or directory
╵

╷
│ Error: Failed to read module directory
│
│ Module directory  does not exist or cannot be read.
╵

╷
│ Error: Unreadable module directory
│
│ Unable to evaluate directory symlink: lstat modules: no such file or directory
╵

╷
│ Error: Failed to read module directory
│
│ Module directory  does not exist or cannot be read.
╵
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type : bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant