@@ -255,47 +255,40 @@ func NewResource() *schema.Resource {
255
255
Description : "Additional HTTP headers to be included as part of the HTTP request." ,
256
256
},
257
257
"datadog_region" : {
258
- Type : schema .TypeString ,
259
- Optional : true ,
260
- RequiredWith : []string {"sink.0.datadog_api_key" },
258
+ Type : schema .TypeString ,
259
+ Optional : true ,
261
260
ValidateFunc : validation .StringInSlice (
262
261
[]string {"us" , "eu" , "us3" , "us5" },
263
262
false ,
264
263
),
265
264
Description : "The Datadog region. Possible values: `us`, `eu`, `us3`, `us5`." ,
266
265
},
267
266
"datadog_api_key" : {
268
- Type : schema .TypeString ,
269
- Optional : true ,
270
- Sensitive : true ,
271
- RequiredWith : []string {"sink.0.datadog_region" },
272
- Description : "The Datadog API key." ,
267
+ Type : schema .TypeString ,
268
+ Optional : true ,
269
+ Sensitive : true ,
270
+ Description : "The Datadog API key." ,
273
271
},
274
272
"splunk_domain" : {
275
- Type : schema .TypeString ,
276
- Optional : true ,
277
- RequiredWith : []string {"sink.0.splunk_token" , "sink.0.splunk_port" , "sink.0.splunk_secure" },
278
- Description : "The Splunk domain name." ,
273
+ Type : schema .TypeString ,
274
+ Optional : true ,
275
+ Description : "The Splunk domain name." ,
279
276
},
280
277
"splunk_token" : {
281
- Type : schema .TypeString ,
282
- Optional : true ,
283
- Sensitive : true ,
284
- RequiredWith : []string {"sink.0.splunk_domain" , "sink.0.splunk_port" , "sink.0.splunk_secure" },
285
- Description : "The Splunk access token." ,
278
+ Type : schema .TypeString ,
279
+ Optional : true ,
280
+ Sensitive : true ,
281
+ Description : "The Splunk access token." ,
286
282
},
287
283
"splunk_port" : {
288
- Type : schema .TypeString ,
289
- Optional : true ,
290
- RequiredWith : []string {"sink.0.splunk_domain" , "sink.0.splunk_token" , "sink.0.splunk_secure" },
291
- Description : "The Splunk port." ,
284
+ Type : schema .TypeString ,
285
+ Optional : true ,
286
+ Description : "The Splunk port." ,
292
287
},
293
288
"splunk_secure" : {
294
- Type : schema .TypeBool ,
295
- Optional : true ,
296
- Default : nil ,
297
- RequiredWith : []string {"sink.0.splunk_domain" , "sink.0.splunk_port" , "sink.0.splunk_token" },
298
- Description : "This toggle should be turned off when using self-signed certificates." ,
289
+ Type : schema .TypeBool ,
290
+ Optional : true ,
291
+ Description : "This toggle should be turned off when using self-signed certificates." ,
299
292
},
300
293
"sumo_source_address" : {
301
294
Type : schema .TypeString ,
@@ -324,11 +317,10 @@ func NewResource() *schema.Resource {
324
317
Description : "The Mixpanel Service Account username. Services Accounts can be created in the Project Settings page." ,
325
318
},
326
319
"mixpanel_service_account_password" : {
327
- Type : schema .TypeString ,
328
- Optional : true ,
329
- Sensitive : true ,
330
- RequiredWith : []string {"sink.0.mixpanel_region" , "sink.0.mixpanel_project_id" , "sink.0.mixpanel_service_account_username" },
331
- Description : "The Mixpanel Service Account password." ,
320
+ Type : schema .TypeString ,
321
+ Optional : true ,
322
+ Sensitive : true ,
323
+ Description : "The Mixpanel Service Account password." ,
332
324
},
333
325
"segment_write_key" : {
334
326
Type : schema .TypeString ,
0 commit comments