Skip to content

Commit 27a8831

Browse files
author
Pedro Montiel
committed
Merge branch 'master' into APP-1057_custom_entity_types-entity_criticality
2 parents a08f92a + 92b6520 commit 27a8831

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## 2.11.0 (Unreleased)
2+
3+
* Address missing feedback from GH-274 and GH-281 (GH-285)
4+
25
FEATURES:
36

47
* **New Resource:** sumologic_cse_rule_tuning_expression (GH-281)

sumologic/resource_sumologic_cse_rule_tuning_expression.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,30 @@ func resourceSumologicCSERuleTuningExpression() *schema.Resource {
1919
"description": {
2020
Type: schema.TypeString,
2121
Required: true,
22-
ForceNew: false,
2322
},
2423
"name": {
2524
Type: schema.TypeString,
2625
Required: true,
27-
ForceNew: false,
2826
},
2927
"expression": {
3028
Type: schema.TypeString,
3129
Required: true,
32-
ForceNew: false,
3330
},
3431
"enabled": {
3532
Type: schema.TypeBool,
3633
Required: true,
37-
ForceNew: false,
3834
},
3935
"exclude": {
4036
Type: schema.TypeBool,
4137
Required: true,
42-
ForceNew: false,
4338
},
4439
"is_global": {
4540
Type: schema.TypeBool,
4641
Required: true,
47-
ForceNew: false,
4842
},
4943
"rule_ids": {
5044
Type: schema.TypeList,
5145
Required: true,
52-
ForceNew: false,
5346
Elem: &schema.Schema{
5447
Type: schema.TypeString,
5548
},
@@ -115,7 +108,7 @@ func resourceSumologicCSERuleTuningExpressionCreate(d *schema.ResourceData, meta
115108
d.SetId(id)
116109
}
117110

118-
return resourceSumologicCSERuleTuningExpressionUpdate(d, meta)
111+
return resourceSumologicCSERuleTuningExpressionRead(d, meta)
119112
}
120113

121114
func resourceSumologicCSERuleTuningExpressionUpdate(d *schema.ResourceData, meta interface{}) error {

website/docs/r/cse_insights_configuration.html.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ The following attributes are exported:
2929

3030
## Import
3131

32-
Insights Configuration can be imported using the field id, e.g.:
32+
Insights Configuration can be imported using the id `cse-insights-configuration`:
33+
34+
~> **NOTE:** Only `cse-insights-configuration` id should be used when importing hte insights configuration. Using any other id may have unintended consequences.
35+
3336
```hcl
34-
terraform import sumologic_cse_insights_configuration.insights_configuration ID
37+
terraform import sumologic_cse_insights_configuration.insights_configuration cse-insights-configuration
3538
```

0 commit comments

Comments
 (0)