File tree 2 files changed +10
-8
lines changed
examples/resources/datadog_synthetics_test
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -310,9 +310,10 @@ resource "datadog_synthetics_test" "test_multi_step" {
310
310
subtype = "grpc"
311
311
312
312
assertion {
313
- type = "statusCode "
313
+ type = "grpcMetadata "
314
314
operator = "is"
315
- target = "200"
315
+ property = "X-Header"
316
+ target = "test"
316
317
}
317
318
318
319
request_definition {
@@ -328,9 +329,9 @@ resource "datadog_synthetics_test" "test_multi_step" {
328
329
subtype = "grpc"
329
330
330
331
assertion {
331
- type = "statusCode "
332
+ type = "grpcHealthcheckStatus "
332
333
operator = "is"
333
- target = "200 "
334
+ target = "1 "
334
335
}
335
336
336
337
request_definition {
Original file line number Diff line number Diff line change @@ -269,9 +269,10 @@ resource "datadog_synthetics_test" "test_multi_step" {
269
269
subtype = " grpc"
270
270
271
271
assertion {
272
- type = " statusCode "
272
+ type = " grpcMetadata "
273
273
operator = " is"
274
- target = " 200"
274
+ property = " X-Header"
275
+ target = " test"
275
276
}
276
277
277
278
request_definition {
@@ -287,9 +288,9 @@ resource "datadog_synthetics_test" "test_multi_step" {
287
288
subtype = " grpc"
288
289
289
290
assertion {
290
- type = " statusCode "
291
+ type = " grpcHealthcheckStatus "
291
292
operator = " is"
292
- target = " 200 "
293
+ target = " 1 "
293
294
}
294
295
295
296
request_definition {
You can’t perform that action at this time.
0 commit comments