mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7afef3f035
* Re-IP Loadtesting for TGW+VPN * Further restrict VPN IPs for LoadTesting * Update VPN IPs for Loadtesting
24 lines
896 B
HCL
24 lines
896 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 }]
|
|
# Private Subnets from VPN VPC
|
|
vpn_cidr_blocks = [
|
|
"10.255.1.0/24",
|
|
"10.255.2.0/24",
|
|
"10.255.3.0/24",
|
|
]
|
|
|
|
}
|