-
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.
chore(test-env): add new environment named test in the deployment pip…
…eline
- Loading branch information
jimmypalelil
committed
Feb 6, 2025
1 parent
ff23416
commit 04ba6f5
Showing
11 changed files
with
127 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
include { | ||
path = find_in_parent_folders() | ||
} | ||
locals { | ||
app_env = get_env("app_env") | ||
flyway_image = get_env("flyway_image") | ||
api_image = get_env("api_image") | ||
target_env = get_env("target_env") | ||
|
||
} | ||
|
||
# Include the common terragrunt configuration for all modules | ||
generate "test_tfvars" { | ||
path = "test.auto.tfvars" | ||
if_exists = "overwrite" | ||
disable_signature = true | ||
contents = <<-EOF | ||
target_env = "test" | ||
flyway_image="${local.flyway_image}" | ||
api_image="${local.api_image}" | ||
app_env="${local.app_env}" | ||
app_name="node-api-${local.app_env}" | ||
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,18 @@ | ||
include { | ||
path = find_in_parent_folders() | ||
} | ||
locals { | ||
app_env = get_env("app_env") | ||
} | ||
|
||
# Include the common terragrunt configuration for all modules | ||
generate "test_tfvars" { | ||
path = "test.auto.tfvars" | ||
if_exists = "overwrite" | ||
disable_signature = true | ||
contents = <<-EOF | ||
target_env = "test" | ||
db_cluster_name = "qsawsc-aurora-cluster-${local.app_env}" | ||
app_env="${local.app_env}" | ||
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,20 @@ | ||
include { | ||
path = find_in_parent_folders() | ||
} | ||
locals { | ||
app_env = get_env("app_env") | ||
target_env = get_env("target_env") | ||
|
||
} | ||
|
||
# Include the common terragrunt configuration for all modules | ||
generate "test_tfvars" { | ||
path = "test.auto.tfvars" | ||
if_exists = "overwrite" | ||
disable_signature = true | ||
contents = <<-EOF | ||
target_env = "test" | ||
app_env="${local.app_env}" | ||
app_name="frontend-${local.app_env}" | ||
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,23 @@ | ||
include { | ||
path = find_in_parent_folders() | ||
} | ||
locals { | ||
app_env = get_env("app_env") | ||
flyway_image = get_env("flyway_image") | ||
api_image = get_env("api_image") | ||
target_env = get_env("target_env") | ||
} | ||
|
||
# Include the common terragrunt configuration for all modules | ||
generate "test_tfvars" { | ||
path = "test.auto.tfvars" | ||
if_exists = "overwrite" | ||
disable_signature = true | ||
contents = <<-EOF | ||
target_env = "test" | ||
flyway_image="${local.flyway_image}" | ||
api_image="${local.api_image}" | ||
app_env="${local.app_env}" | ||
app_name="node-api-${local.app_env}" | ||
EOF | ||
} |