You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/observability_instance.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ import {
45
45
46
46
-`acl` (Set of String) The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation.
47
47
-`alert_config` (Attributes) Alert configuration for the instance. (see [below for nested schema](#nestedatt--alert_config))
48
+
-`grafana_admin_enabled` (Boolean) If true, a default Grafana server admin user is created. It's recommended to set this to false and use STACKIT SSO (Owner or Observability Grafana Server Admin role) instead. It is still possible to manually create a new Grafana admin user via the Grafana UI later.
48
49
-`logs_retention_days` (Number) Specifies for how many days the logs are kept. Default is set to `7`.
49
50
-`metrics_retention_days` (Number) Specifies for how many days the raw metrics are kept. Default is set to `90`.
50
51
-`metrics_retention_days_1h_downsampling` (Number) Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.
Description: "Specifies an initial Grafana admin password.",
502
+
"grafana_admin_enabled": schema.BoolAttribute{
503
+
Description: "If true, a default Grafana server admin user is created. It's recommended to set this to false and use STACKIT SSO (Owner or Observability Grafana Server Admin role) instead. It is still possible to manually create a new Grafana admin user via the Grafana UI later.",
504
+
Optional: true,
512
505
Computed: true,
513
-
Sensitive: true,
514
-
PlanModifiers: []planmodifier.String{
515
-
stringplanmodifier.UseStateForUnknown(),
516
-
},
506
+
Default: booldefault.StaticBool(true),
517
507
},
518
508
"traces_retention_days": schema.Int64Attribute{
519
509
Description: "Specifies for how many days the traces are kept. Default is set to `7`.",
@@ -1558,8 +1548,6 @@ func mapFields(ctx context.Context, r *observability.GetInstanceResponse, model
0 commit comments