Skip to content

Commit 76f2770

Browse files
fix: correctly format prefix (#735)
At the moment the launch template and autoscaling group aren't formatted correctly. This fix will correct the display names. Requires recreation of the asg but this is likely fine. Co-authored-by: Matthias Kay <[email protected]>
1 parent a736038 commit 76f2770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ data "aws_ami" "runner" {
236236
}
237237

238238
resource "aws_launch_template" "gitlab_runner_instance" {
239-
name_prefix = local.name_runner_agent_instance
239+
name_prefix = "${local.name_runner_agent_instance}-"
240240
image_id = data.aws_ami.runner.id
241241
user_data = base64gzip(local.template_user_data)
242242
instance_type = var.instance_type

0 commit comments

Comments
 (0)