Skip to content

Commit 7749fb1

Browse files
committed
fix indentation
1 parent 8f444c6 commit 7749fb1

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

docs/data-sources/cockpit.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data "scaleway_cockpit" "main" {}
2525
```hcl
2626
// Get a specific project's cockpit
2727
data "scaleway_cockpit" "main" {
28-
project_id = "11111111-1111-1111-1111-111111111111"
28+
project_id = "11111111-1111-1111-1111-111111111111"
2929
}
3030
```
3131

@@ -40,7 +40,7 @@ In addition to all arguments above, the following attributes are exported:
4040

4141
- `plan_id` - (Deprecated) The ID of the current plan
4242
- `endpoints` - (Deprecated) Endpoints
43-
- `metrics_url` - (Deprecated) The metrics URL
44-
- `logs_url` - (Deprecated) The logs URL
45-
- `alertmanager_url` - (Deprecated) The alertmanager URL
46-
- `grafana_url` - (Deprecated) The grafana URL
43+
- `metrics_url` - (Deprecated) The metrics URL
44+
- `logs_url` - (Deprecated) The logs URL
45+
- `alertmanager_url` - (Deprecated) The alertmanager URL
46+
- `grafana_url` - (Deprecated) The grafana URL

docs/resources/cockpit.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ resource "scaleway_cockpit" "main" {}
2525

2626
```terraform
2727
resource "scaleway_cockpit" "main" {
28-
project_id = "11111111-1111-1111-1111-111111111111"
28+
project_id = "11111111-1111-1111-1111-111111111111"
2929
}
3030
```
3131

3232
### Choose a specific plan for Cockpit
3333

3434
```terraform
3535
resource "scaleway_cockpit" "main" {
36-
project_id = "11111111-1111-1111-1111-111111111111"
37-
plan = "premium"
36+
project_id = "11111111-1111-1111-1111-111111111111"
37+
plan = "premium"
3838
}
3939
```
4040

@@ -44,18 +44,18 @@ plan = "premium"
4444
resource "scaleway_cockpit" "main" {}
4545
4646
resource "scaleway_cockpit_grafana_user" "main" {
47-
project_id = scaleway_cockpit.main.project_id
48-
login = "example"
49-
role = "editor"
47+
project_id = scaleway_cockpit.main.project_id
48+
login = "example"
49+
role = "editor"
5050
}
5151
5252
provider "grafana" {
53-
url = scaleway_cockpit.main.endpoints.0.grafana_url
54-
auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
53+
url = scaleway_cockpit.main.endpoints.0.grafana_url
54+
auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
5555
}
5656
5757
resource "grafana_folder" "test_folder" {
58-
title = "Test Folder"
58+
title = "Test Folder"
5959
}
6060
```
6161

@@ -71,11 +71,11 @@ In addition to all arguments above, the following attributes are exported:
7171

7272
- `plan_id` - (Deprecated) The ID of the current plan. Please use plan instead.
7373
- `endpoints` - (Deprecated) Endpoints. Please use scaleway_cockpit_source instead.
74-
- `metrics_url` - (Deprecated) The metrics URL.
75-
- `logs_url` - (Deprecated) The logs URL.
76-
- `alertmanager_url` - (Deprecated) The alertmanager URL.
77-
- `grafana_url` - (Deprecated) The grafana URL.
78-
- `traces_url` - (Deprecated) The traces URL.
74+
- `metrics_url` - (Deprecated) The metrics URL.
75+
- `logs_url` - (Deprecated) The logs URL.
76+
- `alertmanager_url` - (Deprecated) The alertmanager URL.
77+
- `grafana_url` - (Deprecated) The grafana URL.
78+
- `traces_url` - (Deprecated) The traces URL.
7979

8080
## Import
8181

0 commit comments

Comments
 (0)