Skip to content

Commit f5a4e4e

Browse files
chore: update kms settings for launch template to allow default kms (#1343)
1 parent f403b2e commit f5a4e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker_autoscaler.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "aws_launch_template" "this" {
3838
iops = contains(["gp3", "io1", "io2"], var.runner_worker_docker_autoscaler_instance.volume_type) ? var.runner_worker_docker_autoscaler_instance.volume_iops : null
3939
throughput = var.runner_worker_docker_autoscaler_instance.volume_type == "gp3" ? var.runner_worker_docker_autoscaler_instance.volume_throughput : null
4040
encrypted = true
41-
kms_key_id = local.kms_key_arn
41+
kms_key_id = local.kms_key_arn != "" ? local.kms_key_arn : null
4242
}
4343
}
4444

0 commit comments

Comments
 (0)