Files
foxhunt/infra/modules/cockpit/outputs.tf
jgrusewski 0c5da1fb55 fix(infra): fix cockpit module for SCW provider v2.69.0
- 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>
2026-02-27 00:45:36 +01:00

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
}