Skip to content

Commit 4abe628

Browse files
committed
fix: app 경로수정
1 parent 81db492 commit 4abe628

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

terraform/dev/locals.tf

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,13 @@ locals {
6565
container_definitions_map = {
6666
for svc, def in local.task_definitions_with_roles : svc => [
6767
{
68-
name = svc
69-
image = svc == "api-dev" ? "${local.ecr_repo_urls["dev"]}:placeholder" : def.container_image
70-
cpu = def.cpu
71-
memory = def.memory
72-
essential = true
68+
name = svc
69+
image = svc == "api-dev" ? "${local.ecr_repo_urls["dev"]}:placeholder" : def.container_image
70+
cpu = def.cpu
71+
memory = def.memory
72+
essential = true
7373
stopTimeout = lookup(def, "stop_timeout", 30)
74-
working_directory = svc == "api-dev" ? "/app" : null,
75-
command = svc == "api-dev" ? [
74+
command = svc == "api-dev" ? [
7675
"java",
7776
"-javaagent:/app/dd-java-agent.jar",
7877
"-Ddd.service=eatda-api",
@@ -81,7 +80,7 @@ locals {
8180
"-Ddd.agent.host=172.17.0.1",
8281
"-Dspring.profiles.active=dev",
8382
"-jar",
84-
"api.jar"
83+
"/app/api.jar"
8584
] : null
8685
portMappings = [
8786
for idx, port in def.container_port :

0 commit comments

Comments
 (0)