forked from gruntwork-io/terragrunt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d575a46
commit 68fe15e
Showing
18 changed files
with
91 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
random_file.txt |
5 changes: 5 additions & 0 deletions
5
test/fixture-codegen/generate-block/nested/child_inherit/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
generate "random_file" { | ||
path = "random_file.txt" | ||
if_exists = "overwrite" | ||
contents = "Hello world" | ||
} |
17 changes: 17 additions & 0 deletions
17
test/fixture-codegen/generate-block/nested/child_overwrite/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
generate "backend" { | ||
path = "backend.tf" | ||
if_exists = "overwrite" | ||
contents = <<EOF | ||
terraform { | ||
backend "local" { | ||
path = "bar.tfstate" | ||
} | ||
} | ||
EOF | ||
} | ||
|
||
generate "random_file" { | ||
path = "random_file.txt" | ||
if_exists = "overwrite" | ||
contents = "Hello world" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
generate "backend" { | ||
path = "backend.tf" | ||
if_exists = "overwrite" | ||
contents = <<EOF | ||
terraform { | ||
backend "local" { | ||
path = "foo.tfstate" | ||
} | ||
} | ||
EOF | ||
} | ||
|
||
terraform { | ||
source = "${get_parent_terragrunt_dir()}/../../module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
foo.tfstate | ||
bar.tfstate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
terraform { | ||
backend "local" { | ||
path = "bar.tfstate" | ||
} | ||
} |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
test/fixture-codegen/generate-block/overwrite/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generate "backend" { | ||
path = "backend.tf" | ||
if_exists = "overwrite" | ||
contents = <<EOF | ||
terraform { | ||
backend "local" { | ||
path = "foo.tfstate" | ||
} | ||
} | ||
EOF | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
generate "backend" { | ||
path = "main.tf" | ||
if_exists = "skip" | ||
contents = <<EOF | ||
terraform { | ||
backend "local" { | ||
path = "foo.tfstate" | ||
} | ||
} | ||
EOF | ||
} | ||
|
||
terraform { | ||
source = "../../module" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,7 @@ remote_state { | |
path = "foo.tfstate" | ||
} | ||
} | ||
|
||
terraform { | ||
souce = "../../module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,7 @@ remote_state { | |
path = "foo.tfstate" | ||
} | ||
} | ||
|
||
terraform { | ||
souce = "../../module" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,7 @@ remote_state { | |
path = "foo.tfstate" | ||
} | ||
} | ||
|
||
terraform { | ||
souce = "../../module" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,7 @@ remote_state { | |
} | ||
} | ||
} | ||
|
||
terraform { | ||
souce = "../../module" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,7 @@ remote_state { | |
path = "foo.tfstate" | ||
} | ||
} | ||
|
||
terraform { | ||
souce = "../../module" | ||
} |