Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/resources/cockpit_grafana_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ page_title: "Scaleway: scaleway_cockpit_grafana_user"

# Resource: scaleway_cockpit_grafana_user

-> **Important:** This resource is deprecated and will be removed in a future version. Scaleway is deprecating Grafana users in favor of alternative authentication methods. Please refer to Scaleway's documentation for migration guidance.

The `scaleway_cockpit_grafana_user` resource allows you to create and manage [Grafana users](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users) in Scaleway Cockpit.

Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
Expand Down
7 changes: 4 additions & 3 deletions internal/services/cockpit/grafana_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ import (

func ResourceCockpitGrafanaUser() *schema.Resource {
return &schema.Resource{
CreateContext: ResourceCockpitGrafanaUserCreate,
ReadContext: ResourceCockpitGrafanaUserRead,
DeleteContext: ResourceCockpitGrafanaUserDelete,
CreateContext: ResourceCockpitGrafanaUserCreate,
ReadContext: ResourceCockpitGrafanaUserRead,
DeleteContext: ResourceCockpitGrafanaUserDelete,
DeprecationMessage: "This resource is deprecated and will be removed in a future version. Scaleway is deprecating Grafana users in favor of alternative authentication methods.",
Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(DefaultCockpitTimeout),
Read: schema.DefaultTimeout(DefaultCockpitTimeout),
Expand Down
2 changes: 2 additions & 0 deletions templates/resources/cockpit_grafana_user.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ page_title: "Scaleway: scaleway_cockpit_grafana_user"

# Resource: scaleway_cockpit_grafana_user

-> **Important:** This resource is deprecated and will be removed in a future version. Scaleway is deprecating Grafana users in favor of alternative authentication methods. Please refer to Scaleway's documentation for migration guidance.

The `scaleway_cockpit_grafana_user` resource allows you to create and manage [Grafana users](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users) in Scaleway Cockpit.

Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
Expand Down
Loading