Skip to content

Commit

Permalink
azurerm_log_analytics_cluster - add 100 as valid size_gb (#26865)
Browse files Browse the repository at this point in the history
* add 100 as valid sku for log analytics cluster

* review comment
  • Loading branch information
stephybun authored Jul 31, 2024
1 parent ee583da commit 7a47853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ func (l LogAnalyticsClusterResource) Arguments() map[string]*schema.Schema {
if !features.FourPointOh() {
return 1000
}
return 500
return 100
}(),
ValidateFunc: validation.IntInSlice([]int{500, 1000, 2000, 5000}),
ValidateFunc: validation.IntInSlice([]int{100, 500, 1000, 2000, 5000}),
},

"tags": tags.Schema(),
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/log_analytics_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ The following arguments are supported:

* `identity` - (Required) An `identity` block as defined below. Changing this forces a new Log Analytics Cluster to be created.

* `size_gb` - (Optional) The capacity of the Log Analytics Cluster is specified in GB/day. Possible values include `500`, `1000`, `2000` or `5000`. Defaults to `1000`.
* `size_gb` - (Optional) The capacity of the Log Analytics Cluster is specified in GB/day. Possible values include `100`, `500`, `1000`, `2000` or `5000`. Defaults to `1000`.

~> **NOTE:** The cluster capacity must start at 500 GB and can be set to 1000, 2000 or 5000 GB/day. For more information on cluster costs, see [Dedicated clusters](https://docs.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#dedicated-clusters). In v3.x the default value is `1000` GB, in v4.0 of the provider this will default to `500` GB.
~> **NOTE:** The cluster capacity must start at 100 GB and can be set to 500, 1000, 2000 or 5000 GB/day. For more information on cluster costs, see [Dedicated clusters](https://docs.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#dedicated-clusters). In v3.x the default value is `1000` GB, in v4.0 of the provider this will default to `100` GB.

* `tags` - (Optional) A mapping of tags which should be assigned to the Log Analytics Cluster.

Expand Down

0 comments on commit 7a47853

Please sign in to comment.