Skip to content

Commit

Permalink
azurerm_monitor_diagnostic_setting - `log_analytics_destination_typ…
Browse files Browse the repository at this point in the history
…e` supports `AzureDiagnostics` #6769
  • Loading branch information
magodo committed May 6, 2020
1 parent 274c4b5 commit 805f90d
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -83,10 +83,13 @@ func resourceArmMonitorDiagnosticSetting() *schema.Resource {
},

"log_analytics_destination_type": {
Type: schema.TypeString,
Optional: true,
ForceNew: false,
ValidateFunc: validation.StringInSlice([]string{"Dedicated"}, false),
Type: schema.TypeString,
Optional: true,
ForceNew: false,
ValidateFunc: validation.StringInSlice([]string{
"Dedicated",
"AzureDiagnostics", // Not documented in azure API, but some resource has skew. See: https://github.com/Azure/azure-rest-api-specs/issues/9281
}, false),
},

"log": {
Expand Down

0 comments on commit 805f90d

Please sign in to comment.