Error: Failed to read module directory

476 views
Skip to first unread message

Bartosz Dopke

unread,
May 13, 2020, 3:03:21 AM5/13/20
to Terraform
Hi,

I can't find what's wrong with my module path because I get an 'error: Failed to read module directory' after terraform init.
Project structure looks like this:

In main.tf in project1 folder I want to use modules I created above (resource_group and data_factory).

main.tf (project1 folder):


Error after terraform init:


Thank you for help!

Bartosz Dopke

unread,
May 13, 2020, 3:04:51 AM5/13/20
to Terraform
I use modules in project1.tf, not main.tf, sorry for a mistake :)
Reply all
Reply to author
Forward
0 new messages