mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
2933a7bdaa
# Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md) - [ ] Documented any permissions changes - [ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [ ] Added/updated tests - [ ] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).
39 lines
1020 B
HCL
39 lines
1020 B
HCL
output "fleet_extra_iam_policies" {
|
|
value = [aws_iam_policy.main.arn]
|
|
}
|
|
|
|
output "fleet_extra_execution_iam_policies" {
|
|
value = [aws_iam_policy.execution.arn]
|
|
}
|
|
|
|
output "fleet_sidecars" {
|
|
value = [
|
|
{
|
|
"name" : "aws-otel-collector",
|
|
"image" : "public.ecr.aws/aws-observability/aws-otel-collector:v0.26.1",
|
|
"essential" : true,
|
|
"command" : [
|
|
"--config=/etc/ecs/ecs-default-config.yaml"
|
|
],
|
|
"logConfiguration" : {
|
|
"logDriver" : "awslogs",
|
|
"options" : {
|
|
"awslogs-create-group" : "True",
|
|
"awslogs-group" : "/ecs/ecs-aws-otel-sidecar-collector",
|
|
"awslogs-region" : data.aws_region.current.name,
|
|
"awslogs-stream-prefix" : "ecs"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
output "fleet_extra_environment_variables" {
|
|
value = {
|
|
FLEET_LOGGING_TRACING_ENABLED = "true"
|
|
FLEET_LOGGING_TRACING_TYPE = "opentelemetry"
|
|
OTEL_SERVICE_NAME = "fleet"
|
|
OTEL_EXPORTER_OTLP_ENDPOINT = "http://localhost:4317"
|
|
}
|
|
}
|