pez-infra/terraform/grafana/fleet_pipelines.tf
Rasmus "Pez" Wejlgaard 043c783361
Some checks are pending
Deploy (on merge) / Discover hosts (push) Waiting to run
Deploy (on merge) / Deploy → (push) Blocked by required conditions
Terraform / Plan (push) Waiting to run
Terraform / Apply (push) Blocked by required conditions
Grafana Cloud Migration (#94)
* Grafana Cloud migration, adding dashboards, fleet, alloy and synthetics

* modulize stuff now that we have multiple substantial things in here

* provider updates and new secrets

* remove grafana and prometheus from ansible
2026-05-04 13:40:30 +01:00

29 lines
1 KiB
HCL

resource "grafana_fleet_management_pipeline" "linux_node_linux" {
name = "linux_node_linux"
matchers = ["collector.os=\"linux\""]
contents = file("${path.module}/fleet_pipelines/linux_node_linux.alloy")
}
resource "grafana_fleet_management_pipeline" "octopus_exporter" {
name = "octopus_exporter"
matchers = ["collector.ID=\"london-c\""]
contents = file("${path.module}/fleet_pipelines/octopus_exporter.alloy")
}
resource "grafana_fleet_management_pipeline" "plex" {
name = "plex"
matchers = ["collector.ID=\"london-b\""]
contents = file("${path.module}/fleet_pipelines/plex.alloy")
}
resource "grafana_fleet_management_pipeline" "caddy_linux" {
name = "caddy_linux"
matchers = ["collector.ID=\"helsinki-a\""]
contents = file("${path.module}/fleet_pipelines/caddy_linux.alloy")
}
resource "grafana_fleet_management_pipeline" "docker_linux" {
name = "docker_linux"
matchers = ["collector.os=\"linux\""]
contents = file("${path.module}/fleet_pipelines/docker_linux.alloy")
}