Skip to content

Commit

Permalink
issue 2171 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Jun 29, 2022
1 parent cbfaff8 commit 7a6cb23
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions issue-2171/app/mod1/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include {
path = find_in_parent_folders()
}

terraform {
source = "../../modules//mod1"
}
10 changes: 10 additions & 0 deletions issue-2171/modules/mod1/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resource "local_file" "mod1" {
content = "mod1 file"
filename = "${path.module}/mod1.txt"
}

resource "local_file" "mod2" {
content = "mod2 file"
filename = "${path.module}/mod1.txt"
}

Empty file added issue-2171/terragrunt.hcl
Empty file.
Empty file added issue-2173/.ci/iam/main.tf
Empty file.
7 changes: 7 additions & 0 deletions issue-2173/.ci/iam/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include {
path = find_in_parent_folders()
}

terraform {
source = "${path_relative_from_include()}/..//.ci/${path_relative_to_include()}"
}
Empty file added issue-2173/.ci/terragrunt.hcl
Empty file.
4 changes: 4 additions & 0 deletions issue-2173/modules/iam-policies/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "local_file" "foo" {
content = "iam-policies"
filename = "${path.module}/file.json"
}

0 comments on commit 7a6cb23

Please sign in to comment.