Skip to content

Commit f671940

Browse files
author
Sean Sain
committed
fix analytics partition tiers
1 parent a953737 commit f671940

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sumologic/resource_sumologic_partition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func resourceSumologicPartition() *schema.Resource {
3232
"analytics_tier": {
3333
Type: schema.TypeString,
3434
Optional: true,
35-
ValidateFunc: validation.StringInSlice([]string{"enhanced", "basic", "cold"}, false),
35+
ValidateFunc: validation.StringInSlice([]string{"continuous", "frequent", "infrequent", "enhanced", "basic", "cold"}, false),
3636
Default: "enhanced",
3737
},
3838
// Terraform does not support reducing the retention period after creation

website/docs/r/partition.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following arguments are supported:
2424

2525
- `name` - (Required) The name of the partition.
2626
- `routing_expression` - (Required) The query that defines the data to be included in the partition.
27-
- `analytics_tier` - (Required) The Cloud Flex analytics tier for your data; only relevant if your account has basic analytics enabled. Possible values are: `enhanced`, `basic`, `cold`
27+
- `analytics_tier` - (Required) The Cloud Flex analytics tier for your data; only relevant if your account has basic analytics enabled. Possible values are: `enhanced`, `basic`, `cold`, `continuous`, `frequent`, `infrequent`
2828
- `retention_period` - (Optional) The number of days to retain data in the partition, or -1 to use the default value for your account. Only relevant if your account has variable retention enabled.
2929
- `is_compliant` - (Required) Whether the partition is compliant or not. Mark a partition as compliant if it contains data used for compliance or audit purpose. Retention for a compliant partition can only be increased and cannot be reduced after the partition is marked compliant. A partition once marked compliant, cannot be marked non-compliant later.
3030
- `data_forwarding_id` - (Optional) An optional ID of a data forwarding configuration to be used by the partition.

0 commit comments

Comments
 (0)