- 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>
23 lines
535 B
HCL
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
|
|
}
|