Skip to content

Commit

Permalink
add 100 as valid sku for log analytics cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
stephybun committed Jul 30, 2024
1 parent e0d6f88 commit 48473cb
Show file tree
Hide file tree
Showing 3 changed files with 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ resource "azurerm_log_analytics_cluster" "test" {
name = "acctest-LA-%d"
resource_group_name = azurerm_resource_group.test.name
location = azurerm_resource_group.test.location
size_gb = 100
identity {
type = "SystemAssigned"
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 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 `100` GB.

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

Expand Down

0 comments on commit 48473cb

Please sign in to comment.