Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
(Chore) Add environment to service name
Browse files Browse the repository at this point in the history
  • Loading branch information
Stretch96 committed Dec 11, 2018
1 parent 56bdbd0 commit dc66d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "aws_ecs_task_definition" "main" {
}

resource "aws_ecs_service" "main" {
name = "${var.service_name}"
name = "${var.environment}-${var.service_name}"
iam_role = "${var.ecs_service_role}"
cluster = "${var.ecs_cluster_id}"
task_definition = "${aws_ecs_task_definition.main.arn}"
Expand Down

0 comments on commit dc66d9c

Please sign in to comment.