- Add required retention_days to cockpit_source (31 = free tier) - Remove deprecated scaleway_cockpit data source (endpoints null) - Use grafana_user resource for grafana_url output instead Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
640 B
HCL
22 lines
640 B
HCL
output "metrics_push_url" {
|
|
description = "Cockpit Mimir remote_write URL for Alloy/Prometheus"
|
|
value = scaleway_cockpit_source.k8s_metrics.push_url
|
|
}
|
|
|
|
output "push_token" {
|
|
description = "Token for authenticating remote_write requests"
|
|
value = scaleway_cockpit_token.k8s_push.secret_key
|
|
sensitive = true
|
|
}
|
|
|
|
output "grafana_url" {
|
|
description = "Cockpit Grafana dashboard URL"
|
|
value = scaleway_cockpit_grafana_user.admin.grafana_url
|
|
}
|
|
|
|
output "grafana_password" {
|
|
description = "Generated password for the Grafana user"
|
|
value = scaleway_cockpit_grafana_user.admin.password
|
|
sensitive = true
|
|
}
|