Skip to content

Commit 043857c

Browse files
authored
Fix typos in the azure_credentials (#2054)
1 parent 9449c44 commit 043857c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/data-sources/cloud_provider_azure_credential.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ data "grafana_cloud_provider_azure_credential" "test" {
7878
- `id` (String) The Terraform Resource ID. This has the format "{{ stack_id }}:{{ resource_id }}".
7979
- `name` (String) The name of the Azure Credential.
8080
- `resource_discovery_tag_filter` (Block List) The list of tag filters to apply to resources. (see [below for nested schema](#nestedblock--resource_discovery_tag_filter))
81-
- `resource_tags_to_add_to_metrics` (Set of String) A set of regions that this AWS Account resource applies to.
81+
- `resource_tags_to_add_to_metrics` (Set of String) The list of resource tags to add to metrics.
8282
- `tenant_id` (String) The tenant ID of the Azure Credential.
8383

8484
<a id="nestedblock--auto_discovery_configuration"></a>

docs/resources/cloud_provider_azure_credential.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ resource "grafana_cloud_provider_azure_credential" "test" {
7272

7373
- `auto_discovery_configuration` (Block List) The list of auto discovery configurations. (see [below for nested schema](#nestedblock--auto_discovery_configuration))
7474
- `resource_discovery_tag_filter` (Block List) The list of tag filters to apply to resources. (see [below for nested schema](#nestedblock--resource_discovery_tag_filter))
75-
- `resource_tags_to_add_to_metrics` (Set of String) A set of regions that this AWS Account resource applies to.
75+
- `resource_tags_to_add_to_metrics` (Set of String) The list of resource tags to add to metrics.
7676

7777
### Read-Only
7878

7979
- `id` (String) The Terraform Resource ID. This has the format "{{ stack_id }}:{{ resource_id }}".
80-
- `resource_id` (String) The ID given by the Grafana Cloud Provider API to this AWS Account resource.
80+
- `resource_id` (String) The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
8181

8282
<a id="nestedblock--auto_discovery_configuration"></a>
8383
### Nested Schema for `auto_discovery_configuration`

internal/resources/cloudprovider/data_source_azure_credential.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (r *datasourceAzureCredential) Schema(ctx context.Context, req datasource.S
7676
Sensitive: true,
7777
},
7878
"resource_tags_to_add_to_metrics": schema.SetAttribute{
79-
Description: "A set of regions that this AWS Account resource applies to.",
79+
Description: "The list of resource tags to add to metrics.",
8080
Computed: true,
8181
ElementType: types.StringType,
8282
},

internal/resources/cloudprovider/resource_azure_credential.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (r *resourceAzureCredential) Schema(ctx context.Context, req resource.Schem
147147
},
148148
},
149149
"resource_id": schema.StringAttribute{
150-
Description: "The ID given by the Grafana Cloud Provider API to this AWS Account resource.",
150+
Description: "The ID given by the Grafana Cloud Provider API to this Azure Credential resource.",
151151
Computed: true,
152152
PlanModifiers: []planmodifier.String{
153153
// See https://developer.hashicorp.com/terraform/plugin/framework/resources/plan-modification#usestateforunknown
@@ -173,7 +173,7 @@ func (r *resourceAzureCredential) Schema(ctx context.Context, req resource.Schem
173173
Sensitive: true,
174174
},
175175
"resource_tags_to_add_to_metrics": schema.SetAttribute{
176-
Description: "A set of regions that this AWS Account resource applies to.",
176+
Description: "The list of resource tags to add to metrics.",
177177
Optional: true,
178178
ElementType: types.StringType,
179179
},

0 commit comments

Comments
 (0)