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

Commit

Permalink
Merge pull request #4 from dxw/fix/add-environment-to-service-name
Browse files Browse the repository at this point in the history
(Chore) Add environment to service name
  • Loading branch information
Stretch96 authored Dec 11, 2018
2 parents 56bdbd0 + dc66d9c commit c0365ac
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 c0365ac

Please sign in to comment.