Files
foxhunt/infra/modules/cockpit/variables.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

23 lines
535 B
HCL

variable "project_id" {
description = "Scaleway project ID"
type = string
}
variable "grafana_login" {
description = "Login for Cockpit Grafana admin user"
type = string
default = "foxhunt-admin"
}
variable "grafana_role" {
description = "Role for the Cockpit Grafana user (editor or viewer)"
type = string
default = "editor"
}
variable "metrics_retention_days" {
description = "Retention period for custom metrics in days (31 = free tier)"
type = number
default = 31
}