Skip to content

Commit

Permalink
Merge pull request #30 from toluna-terraform/fix-parse-env-name
Browse files Browse the repository at this point in the history
fix parsed env
  • Loading branch information
Eli-Meitner authored Jan 3, 2023
2 parents 7636b2a + d494fe9 commit 9e034d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified modules/test-framework-manager/lambda/lambda.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ async function getDeploymentDetails() {
if (platform === "ECS") {
deploymentType = "ECS"
lb_env_name = data.deploymentInfo.applicationName.replace("ecs-deploy-", "");
lb_env_name = lb_env_name.replace(`${process.env.APP_NAME}-`, "");
environment = data.deploymentInfo.applicationName.replace("ecs-deploy-", "");
environment = environment.replace(`${process.env.APP_NAME}-`, "");
environment = environment.replace("-green", "");
environment = environment.replace("-blue", "");

Expand Down

0 comments on commit 9e034d2

Please sign in to comment.