@@ -38,7 +38,28 @@ resource "google_chronicle_watchlist" "example" {
38
38
provider = "google-beta"
39
39
location = "us"
40
40
instance = "00000000-0000-0000-0000-000000000000"
41
- watchlist_id = "watchlist-name"
41
+ watchlist_id = "watchlist-id"
42
+ description = "watchlist-description"
43
+ display_name = "watchlist_name"
44
+ multiplying_factor = 1
45
+ entity_population_mechanism {
46
+ manual {
47
+
48
+ }
49
+ }
50
+ watchlist_user_preferences {
51
+ pinned = true
52
+ }
53
+ }
54
+ ```
55
+ ## Example Usage - Chronicle Watchlist Without Id
56
+
57
+
58
+ ``` hcl
59
+ resource "google_chronicle_watchlist" "example" {
60
+ provider = "google-beta"
61
+ location = "us"
62
+ instance = "00000000-0000-0000-0000-000000000000"
42
63
description = "watchlist-description"
43
64
display_name = "watchlist-name"
44
65
multiplying_factor = 1
@@ -77,13 +98,6 @@ The following arguments are supported:
77
98
(Required)
78
99
The unique identifier for the Chronicle instance, which is the same as the customer ID.
79
100
80
- * ` watchlist_id ` -
81
- (Required)
82
- Optional. The ID to use for the watchlist,
83
- which will become the final component of the watchlist's resource name.
84
- This value should be 4-63 characters, and valid characters
85
- are /a-z-/.
86
-
87
101
88
102
<a name =" nested_entity_population_mechanism " ></a >The ` entity_population_mechanism ` block supports:
89
103
@@ -109,6 +123,13 @@ The following arguments are supported:
109
123
A collection of user preferences for watchlist UI configuration.
110
124
Structure is [ documented below] ( #nested_watchlist_user_preferences ) .
111
125
126
+ * ` watchlist_id ` -
127
+ (Optional)
128
+ Optional. The ID to use for the watchlist,
129
+ which will become the final component of the watchlist's resource name.
130
+ This value should be 4-63 characters, and valid characters
131
+ are /a-z-/.
132
+
112
133
* ` project ` - (Optional) The ID of the project in which the resource belongs.
113
134
If it is not provided, the provider project is used.
114
135
0 commit comments