File tree Expand file tree Collapse file tree 5 files changed +24
-6
lines changed Expand file tree Collapse file tree 5 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ data "sumologic_caller_identity" "current" {}
2020The following attributes are exported:
2121
2222- ` access_id ` - Sumo Logic access ID.
23- - ` access_key ` - Sumo Logic access key.
2423- ` environment ` - API endpoint environment.
2524
2625
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Provides a [Sumologic Field Extraction Rule][1].
1010
1111## Example Usage
1212``` hcl
13- resource "sumologic_field_extraction_rule" "exampleFER " {
13+ resource "sumologic_field_extraction_rule" "fieldExtractionRule " {
1414 name = "exampleFieldExtractionRule"
1515 scope = "_sourceHost=127.0.0.1"
1616 parse_expression = "csv _raw extract 1 as f1"
@@ -33,5 +33,11 @@ The following attributes are exported:
3333
3434- ` id ` - Unique identifier for the field extraction rule.
3535
36+ ## Import
37+ Extraction Rules can be imported using the extraction rule id, e.g.:
38+
39+ ``` hcl
40+ terraform import sumologic_field_extraction_rule.fieldExtractionRule id
41+ ```
3642
3743[ 1 ] : https://help.sumologic.com/Manage/Field-Extractions
Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ The following attributes are exported:
4545
4646## Import
4747Ingest budgets can be imported using the name, e.g.:
48- ``` bash
49- terraform import sumologic_collector.test budgetName
48+
49+ ``` hcl
50+ terraform import sumologic_ingest_budget.budget budgetName
5051```
5152
5253[ 1 ] : https://help.sumologic.com/Manage/Ingestion-and-Volume/Ingest_Budgets
Original file line number Diff line number Diff line change @@ -34,11 +34,16 @@ The following arguments are supported:
3434- ` filter_predicate ` - (Optional) A search filter to restrict access to specific logs.
3535- ` users ` - (Optional) List of user identifiers to assign the role to.
3636- ` capabilities ` - (Optional) List of capabilities associated with this role.
37- - ` lookup_by_name ` - (Optional) Configures an existent role using the same 'name' or creates a new one if non existent. Defaults to false.
38- - ` destroy ` - (Optional) Whether or not to delete the role in Sumo when it is removed from Terraform. Defaults to true.
3937
4038The following attributes are exported:
4139
4240- ` id ` - The internal ID of the role.
4341
42+ ## Import
43+ Roles can be imported using the collector id, e.g.:
44+
45+ ``` hcl
46+ terraform import sumologic_role.role id
47+ ```
48+
4449[ 1 ] : https://help.sumologic.com/Manage/Users-and-Roles/Manage-Roles
Original file line number Diff line number Diff line change @@ -52,4 +52,11 @@ The following attributes are exported:
5252
5353- ` id ` - The internal ID of the user.
5454
55+ ## Import
56+ Roles can be imported using the collector id, e.g.:
57+
58+ ``` hcl
59+ terraform import sumologic_user.user id
60+ ```
61+
5562[ 1 ] : https://help.sumologic.com/Manage/Users-and-Roles/Manage-Users
You can’t perform that action at this time.
0 commit comments