Skip to content

Commit adcd27c

Browse files
author
Sean Sain
committed
update docs
1 parent 7027c41 commit adcd27c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

website/docs/r/collector.html.markdown

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ resource "sumologic_collector" "collector" {
1919
}
2020
```
2121

22-
## Argument reference
22+
## Argument Reference
2323

2424
The following arguments are supported:
2525

26-
- `name` - (Required) The name of the collector. This is required, and has to be unique. Changing this will force recreation the collector.
27-
- `description` - (Optional) The description of the collector.
28-
- `category` - (Optional) The default source category for any source attached to this collector. Can be overridden in the configuration of said sources.
29-
- `timezone` - (Optional) The time zone to use for this collector. The value follows the [tzdata][2] naming convention.
30-
- `fields` - (Optional) Map containing [key/value pairs][3].
31-
- `lookup_by_name` - (Optional) Configures an existent collector using the same 'name' or creates a new one if non existent. Defaults to false.
32-
- `destroy` - (Optional) Whether or not to delete the collector in Sumo when it is removed from Terraform. Defaults to true.
26+
* `name` - (Required) The name of the collector. This is required, and has to be unique. Changing this will force recreation the collector.
27+
* `description` - (Optional) The description of the collector.
28+
* `category` - (Optional) The default source category for any source attached to this collector. Can be overridden in the configuration of said sources.
29+
* `timezone` - (Optional) The time zone to use for this collector. The value follows the [tzdata][2] naming convention.
30+
* `fields` - (Optional) Map containing [key/value pairs][3].
31+
* `lookup_by_name` - DEPRECATED - Use the data source or import the collector - (Optional) Configures an existent collector using the same 'name' or creates a new one if non existent. Defaults to false.
32+
* `destroy` - DEPRECATED - Use lifecycle management attribute [`prevent_destroy`][4] - (Optional) Whether or not to delete the collector in Sumo when it is removed from Terraform. Defaults to true.
3333

3434
The following attributes are exported:
3535

36-
- `id` - The internal ID of the collector. This can be used to attach sources to the collector.
36+
* `id` - The internal ID of the collector. This can be used to attach sources to the collector.
3737

3838
## Import
3939
Collectors can be imported using the collector id, e.g.:
@@ -54,3 +54,4 @@ terraform import sumologic_collector.test my_test_collector
5454
[1]: https://help.sumologic.com/Send_Data/Hosted_Collectors
5555
[2]: https://en.wikipedia.org/wiki/Tz_database
5656
[3]: https://help.sumologic.com/Manage/Fields
57+
[4]: https://www.terraform.io/docs/configuration/resources.html#prevent_destroy

0 commit comments

Comments
 (0)