Skip to content

Commit

Permalink
r/kubernetes_cluster: validating the casing on the Log Analytics Work…
Browse files Browse the repository at this point in the history
…space ID

Fixes #10517
  • Loading branch information
tombuildsstuff committed Feb 10, 2021
1 parent adf75b8 commit 1ceab3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/internal/services/containers/kubernetes_addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/Azure/go-autorest/autorest/azure"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
azureHelpers "github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure"
logAnalyticsValidate "github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/loganalytics/validate"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"

laparse "github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/loganalytics/parse"
Expand Down Expand Up @@ -129,7 +129,7 @@ func schemaKubernetesAddOnProfiles() *schema.Schema {
"log_analytics_workspace_id": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: azureHelpers.ValidateResourceID,
ValidateFunc: logAnalyticsValidate.LogAnalyticsWorkspaceID,
},
"oms_agent_identity": {
Type: schema.TypeList,
Expand Down

0 comments on commit 1ceab3d

Please sign in to comment.