Skip to content

Commit b239626

Browse files
committed
tweak descriptions
1 parent 6df5107 commit b239626

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

docs/data-sources/k6_project_allowed_load_zones.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
page_title: "grafana_k6_project_allowed_load_zones Data Source - terraform-provider-grafana"
44
subcategory: "k6"
55
description: |-
6-
Retrieves allowed load zones for a k6 project.
6+
Retrieves allowed private load zones for a k6 project.
77
---
88

99
# grafana_k6_project_allowed_load_zones (Data Source)
1010

11-
Retrieves allowed load zones for a k6 project.
11+
Retrieves allowed private load zones for a k6 project.
1212

1313
## Example Usage
1414

@@ -27,8 +27,9 @@ data "grafana_k6_project_allowed_load_zones" "from_project_id" {
2727

2828
### Required
2929

30-
- `project_id` (Number) The identifier of the project to retrieve allowed load zones for.
30+
- `project_id` (String) The identifier of the project to retrieve private allowed load zones for.
3131

3232
### Read-Only
3333

34-
- `allowed_load_zones` (List of String) List of allowed k6 load zone IDs for this project.
34+
- `allowed_load_zones` (List of String) List of allowed private k6 load zone IDs for this project.
35+
- `id` (String) The identifier of the project. This is set to the same as the project_id.

docs/resources/k6_project_allowed_load_zones.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
page_title: "grafana_k6_project_allowed_load_zones Resource - terraform-provider-grafana"
44
subcategory: "k6"
55
description: |-
6-
Manages allowed load zones for a k6 project.
6+
Manages allowed private load zones for a k6 project.
77
---
88

99
# grafana_k6_project_allowed_load_zones (Resource)
1010

11-
Manages allowed load zones for a k6 project.
11+
Manages allowed private load zones for a k6 project.
1212

1313
## Example Usage
1414

@@ -28,8 +28,12 @@ resource "grafana_k6_project_allowed_load_zones" "test_allowed_zones" {
2828

2929
### Required
3030

31-
- `allowed_load_zones` (List of String) List of allowed k6 load zone IDs for this project.
32-
- `project_id` (Number) The identifier of the project to manage allowed load zones for.
31+
- `allowed_load_zones` (List of String) List of allowed private k6 load zone IDs for this project.
32+
- `project_id` (String) The identifier of the project to manage private allowed load zones for.
33+
34+
### Read-Only
35+
36+
- `id` (String) The identifier of the project. This is set to the same as the project_id.
3337

3438
## Import
3539

internal/resources/k6/data_source_k6_project_allowed_load_zones.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ func (d *projectAllowedLoadZonesDataSource) Metadata(_ context.Context, _ dataso
4949
// Schema defines the schema for the data source.
5050
func (d *projectAllowedLoadZonesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) {
5151
resp.Schema = schema.Schema{
52-
Description: "Retrieves allowed load zones for a k6 project.",
52+
Description: "Retrieves allowed private load zones for a k6 project.",
5353
Attributes: map[string]schema.Attribute{
5454
"id": schema.StringAttribute{
55-
Description: "The identifier of the project allowed load zones. This is set to the same as the project_id.",
55+
Description: "The identifier of the project. This is set to the same as the project_id.",
5656
Computed: true,
5757
},
5858
"project_id": schema.StringAttribute{
59-
Description: "The identifier of the project to retrieve allowed load zones for.",
59+
Description: "The identifier of the project to retrieve private allowed load zones for.",
6060
Required: true,
6161
},
6262
"allowed_load_zones": schema.ListAttribute{
63-
Description: "List of allowed k6 load zone IDs for this project.",
63+
Description: "List of allowed private k6 load zone IDs for this project.",
6464
Computed: true,
6565
ElementType: types.StringType,
6666
},

internal/resources/k6/resource_project_allowed_load_zones.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ func (r *projectAllowedLoadZonesResource) Metadata(_ context.Context, _ resource
5555
// Schema defines the schema for the resource.
5656
func (r *projectAllowedLoadZonesResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
5757
resp.Schema = schema.Schema{
58-
Description: "Manages allowed load zones for a k6 project.",
58+
Description: "Manages allowed private load zones for a k6 project.",
5959
Attributes: map[string]schema.Attribute{
6060
"id": schema.StringAttribute{
61-
Description: "The identifier of the project allowed load zones. This is the same as the project_id.",
61+
Description: "The identifier of the project. This is set to the same as the project_id.",
6262
Computed: true,
6363
},
6464
"project_id": schema.StringAttribute{
65-
Description: "The identifier of the project to manage allowed load zones for.",
65+
Description: "The identifier of the project to manage private allowed load zones for.",
6666
Required: true,
6767
},
6868
"allowed_load_zones": schema.ListAttribute{
69-
Description: "List of allowed k6 load zone IDs for this project.",
69+
Description: "List of allowed private k6 load zone IDs for this project.",
7070
Required: true,
7171
ElementType: types.StringType,
7272
},

0 commit comments

Comments
 (0)