Skip to content

Commit 81db492

Browse files
committed
fix: 각 스크립트 템플릿 경로 수정
1 parent 9985466 commit 81db492

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

terraform/dev/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ locals {
4646
role = "dev"
4747
iam_instance_profile = data.terraform_remote_state.common.outputs.instance_profile_name["ec2-to-ecs"]
4848
key_name = "eatda-ec2-dev-key"
49-
user_data = templatefile("user-data.sh", {
49+
user_data = templatefile("${path.module}/scripts/user-data.sh", {
5050
ecs_cluster_name = "dev-cluster"
5151
})
5252
}

terraform/prod/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ locals {
5454
role = "prod"
5555
iam_instance_profile = "ec2-to-ecs"
5656
key_name = "eatda-ec2-prod-key"
57-
user_data = templatefile("user-data.sh", {
57+
user_data = templatefile("${path.module}/scripts/user-data.sh", {
5858
ecs_cluster_name = "prod-cluster"
5959
})
6060
}

0 commit comments

Comments
 (0)