Skip to content

Commit

Permalink
fix(runners): zip base64 encoded user data to avoid size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Jan 12, 2024
1 parent a26fec2 commit 7169961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runners/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ resource "aws_launch_template" "runner" {
)
}

user_data = var.enable_userdata ? base64encode(templatefile(local.userdata_template, {
user_data = var.enable_userdata ? base64gzip(templatefile(local.userdata_template, {
enable_debug_logging = var.enable_user_data_debug_logging
s3_location_runner_distribution = local.s3_location_runner_distribution
pre_install = var.userdata_pre_install
Expand Down

0 comments on commit 7169961

Please sign in to comment.