-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add stack values field * Stack values generation * helpers update * stack values generation * Stack values generation * stack values example * prod app update * add test for stack values generation * Documentation update * Test cleanup * Documentation update * Lint fixes * Fixed lint issues * cleanup * Docs fix * PR comments * Documentation update
- Loading branch information
Showing
10 changed files
with
300 additions
and
63 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
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
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
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
19 changes: 19 additions & 0 deletions
19
test/fixtures/stacks/stack-values/project/terragrunt.stack.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,19 @@ | ||
|
||
stack "dev" { | ||
source = "${get_repo_root()}/stacks/dev" | ||
path = "dev" | ||
values = { | ||
project = "dev-project" | ||
env = "dev" | ||
} | ||
} | ||
|
||
stack "prod" { | ||
source = "${get_repo_root()}/stacks/prod" | ||
path = "prod" | ||
values = { | ||
project = "prod-project" | ||
env = "prod" | ||
} | ||
} | ||
|
19 changes: 19 additions & 0 deletions
19
test/fixtures/stacks/stack-values/stacks/dev/terragrunt.stack.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,19 @@ | ||
unit "dev-app-1" { | ||
source = "${get_repo_root()}/units/app" | ||
path = "dev-app-1" | ||
values = { | ||
project = values.project | ||
env = values.env | ||
data = "dev-app-1" | ||
} | ||
} | ||
|
||
unit "dev-app-2" { | ||
source = "${get_repo_root()}/units/app" | ||
path = "dev-app-2" | ||
values = { | ||
project = values.project | ||
env = values.env | ||
data = "dev-app-2" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
test/fixtures/stacks/stack-values/stacks/prod/terragrunt.stack.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,19 @@ | ||
unit "prod-app-1" { | ||
source = "${get_repo_root()}/units/app" | ||
path = "prod-app-1" | ||
values = { | ||
project = values.project | ||
env = values.env | ||
data = "prod-app-1" | ||
} | ||
} | ||
|
||
unit "prod-app-2" { | ||
source = "${get_repo_root()}/units/app" | ||
path = "prod-app-2" | ||
values = { | ||
project = values.project | ||
env = values.env | ||
data = "prod-app-2" | ||
} | ||
} |
Oops, something went wrong.