Skip to content

Commit 4f01801

Browse files
author
misc
committed
fixed bug, with amazon ecs images
1 parent 2ff5896 commit 4f01801

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tools/readme.md

100644100755
File mode changed.

web-service/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ resource "aws_ecs_service" "main" {
157157
module "task" {
158158
source = "../task"
159159

160-
name = "${coalesce(var.name, replace(var.image, "/", "-"))}"
160+
name = "${coalesce(var.name, replace(dirname(var.image), "/", "-"))}"
161161
image = "${var.image}"
162162
image_version = "${var.version}"
163163
command = "${var.command}"

0 commit comments

Comments
 (0)