Skip to content

Commit

Permalink
fix: scaling name prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
avx-rodmans committed Dec 8, 2023
1 parent aaeceeb commit 4b8e14c
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 @@ -64,7 +64,7 @@ resource "aws_ecs_service" "runner" {
module "ecs-service-autoscaling" {
source = "git::https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling.git?ref=1.0.6"
for_each = var.runners
name_prefix = "gh-runner"
name_prefix = each.key
ecs_cluster_name = aws_ecs_cluster.github_runner_cluster.name
ecs_service_name = aws_ecs_service.runner[each.key].name
}
Expand Down

0 comments on commit 4b8e14c

Please sign in to comment.