mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
17 lines
773 B
HCL
17 lines
773 B
HCL
locals {
|
|
name = "fleetdm-${terraform.workspace}"
|
|
prefix = "fleet-${terraform.workspace}"
|
|
additional_env_vars = [for k, v in merge({
|
|
"FLEET_VULNERABILITIES_DATABASES_PATH" : "/home/fleet"
|
|
"FLEET_OSQUERY_ENABLE_ASYNC_HOST_PROCESSING" : "false"
|
|
"FLEET_LOGGING_DEBUG" : "true"
|
|
"FLEET_LOGGING_TRACING_ENABLED" : "true"
|
|
"FLEET_LOGGING_TRACING_TYPE" : "elasticapm"
|
|
"ELASTIC_APM_SERVER_URL" : "https://loadtest.fleetdm.com:8200"
|
|
"ELASTIC_APM_SERVICE_NAME" : "fleet"
|
|
"ELASTIC_APM_ENVIRONMENT" : "${terraform.workspace}"
|
|
"ELASTIC_APM_TRANSACTION_SAMPLE_RATE" : "0.004"
|
|
"ELASTIC_APM_SERVICE_VERSION" : "${var.tag}-${split(":", data.docker_registry_image.dockerhub.sha256_digest)[1]}"
|
|
}, var.fleet_config) : { name = k, value = v }]
|
|
}
|