Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in the azure_credentials resources descriptions #2054

Merged
merged 1 commit into from
Mar 4, 2025
Merged
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: 1 addition & 1 deletion docs/data-sources/cloud_provider_azure_credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data "grafana_cloud_provider_azure_credential" "test" {
- `id` (String) The Terraform Resource ID. This has the format "{{ stack_id }}:{{ resource_id }}".
- `name` (String) The name of the Azure Credential.
- `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))
- `resource_tags_to_add_to_metrics` (Set of String) A set of regions that this AWS Account resource applies to.
- `resource_tags_to_add_to_metrics` (Set of String) The list of resource tags to add to metrics.
- `tenant_id` (String) The tenant ID of the Azure Credential.

<a id="nestedblock--auto_discovery_configuration"></a>
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/cloud_provider_azure_credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ resource "grafana_cloud_provider_azure_credential" "test" {

- `auto_discovery_configuration` (Block List) The list of auto discovery configurations. (see [below for nested schema](#nestedblock--auto_discovery_configuration))
- `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))
- `resource_tags_to_add_to_metrics` (Set of String) A set of regions that this AWS Account resource applies to.
- `resource_tags_to_add_to_metrics` (Set of String) The list of resource tags to add to metrics.

### Read-Only

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

<a id="nestedblock--auto_discovery_configuration"></a>
### Nested Schema for `auto_discovery_configuration`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (r *datasourceAzureCredential) Schema(ctx context.Context, req datasource.S
Sensitive: true,
},
"resource_tags_to_add_to_metrics": schema.SetAttribute{
Description: "A set of regions that this AWS Account resource applies to.",
Description: "The list of resource tags to add to metrics.",
Computed: true,
ElementType: types.StringType,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (r *resourceAzureCredential) Schema(ctx context.Context, req resource.Schem
},
},
"resource_id": schema.StringAttribute{
Description: "The ID given by the Grafana Cloud Provider API to this AWS Account resource.",
Description: "The ID given by the Grafana Cloud Provider API to this Azure Credential resource.",
Computed: true,
PlanModifiers: []planmodifier.String{
// See https://developer.hashicorp.com/terraform/plugin/framework/resources/plan-modification#usestateforunknown
Expand All @@ -173,7 +173,7 @@ func (r *resourceAzureCredential) Schema(ctx context.Context, req resource.Schem
Sensitive: true,
},
"resource_tags_to_add_to_metrics": schema.SetAttribute{
Description: "A set of regions that this AWS Account resource applies to.",
Description: "The list of resource tags to add to metrics.",
Optional: true,
ElementType: types.StringType,
},
Expand Down
Loading