Skip to content

Commit b44f4b3

Browse files
committed
Add pre / post install and delete parameter
1 parent 05fd375 commit b44f4b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/runners/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ resource "aws_launch_template" "runner" {
7474
tag_specifications {
7575
resource_type = "instance"
7676
tags = local.tags
77-
pre_install = var.userdata_pre_install
78-
post_install = var.userdata_post_install
7977
}
8078

8179
user_data = base64encode(templatefile("${path.module}/templates/user-data.sh", {
8280
environment = var.environment
81+
pre_install = var.userdata_pre_install
82+
post_install = var.userdata_post_install
8383
s3_location_runner_distribution = local.s3_location_runner_distribution
8484
}))
8585
}

0 commit comments

Comments
 (0)