diff --git a/testing/benchmark/main.tf b/testing/benchmark/main.tf index 934abc56e71..713eb4725db 100644 --- a/testing/benchmark/main.tf +++ b/testing/benchmark/main.tf @@ -156,9 +156,7 @@ module "standalone_apm_server" { aws_os = "amzn2-ami-hvm-*-x86_64-ebs" apm_instance_type = var.standalone_apm_server_instance_size apm_volume_type = var.standalone_apm_server_volume_type - apm_volume_size = var.apm_server_tail_sampling ? - (var.standalone_apm_server_volume_size==null ? 60 : var.standalone_apm_server_volume_size) : - var.standalone_apm_server_volume_size + apm_volume_size = var.apm_server_tail_sampling ? coalesce(var.standalone_apm_server_volume_size, 60) : var.standalone_apm_server_volume_size apm_server_bin_path = var.apm_server_bin_path ea_managed = false