diff --git a/packages/cdktf/lib/terraform-module.ts b/packages/cdktf/lib/terraform-module.ts index c95d44fb95..42037bc8c5 100644 --- a/packages/cdktf/lib/terraform-module.ts +++ b/packages/cdktf/lib/terraform-module.ts @@ -31,7 +31,7 @@ export abstract class TerraformModule super(scope, id); if (options.source.startsWith("./") || options.source.startsWith("../")) { - this.source = path.join("..", options.source); + this.source = path.join("../..", options.source); } else { this.source = options.source; }