page_title | subcategory | description |
---|---|---|
grafana_fleet_management_pipeline Resource - terraform-provider-grafana |
Fleet Management |
Manages Grafana Fleet Management pipelines.
Official documentation https://grafana.com/docs/grafana-cloud/send-data/fleet-management/API documentation https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/pipeline-api/
Required access policy scopes:
fleet-management:readfleet-management:write |
Manages Grafana Fleet Management pipelines.
Required access policy scopes:
- fleet-management:read
- fleet-management:write
resource "grafana_fleet_management_pipeline" "test" {
name = "my_pipeline"
contents = file("config.alloy")
matchers = [
"collector.os=~\".*\"",
"env=\"PROD\""
]
enabled = true
}
contents
(String) Configuration contents of the pipeline to be used by collectorsname
(String) Name of the pipeline which is the unique identifier for the pipeline
enabled
(Boolean) Whether the pipeline is enabled for collectorsmatchers
(List of String) Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers
id
(String) Server-assigned ID of the pipeline
Import is supported using the following syntax:
terraform import grafana_fleet_management_pipeline.name "{{ name }}"