You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`alert_channel_subscription` (Block List) An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it. (see [below for nested schema](#nestedblock--alert_channel_subscription))
200
-
-`alert_settings` (Block List, Max: 1) (see [below for nested schema](#nestedblock--alert_settings))
199
+
-`alert_channel_subscription` (Attributes List) An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it. (see [below for nested schema](#nestedatt--alert_channel_subscription))
200
+
-`alert_settings` (Attributes) (see [below for nested schema](#nestedatt--alert_settings))
201
201
-`degraded_response_time` (Number) The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 30000. (Default `15000`).
202
202
-`double_check` (Boolean, Deprecated) Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed.
203
-
-`environment_variable` (Block List) Key/value pairs for setting environment variables during check execution, add locked = true to keep value hidden, add secret = true to create a secret variable. These are only relevant for browser checks. Use global environment variables whenever possible. (see [below for nested schema](#nestedblock--environment_variable))
203
+
-`environment_variable` (Attributes List) Introduce additional environment variables to the check execution environment. Only relevant for browser checks. Prefer global environment variables when possible. (see [below for nested schema](#nestedatt--environment_variable))
204
204
-`environment_variables` (Map of String, Deprecated) Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks. Use global environment variables whenever possible.
205
-
-`frequency_offset` (Number) This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequency_offset` could be `10`, `20` or `30`.
205
+
-`frequency_offset` (Number) This property is only valid for high frequency API checks. To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` could be `10`, `20` or `30`.
206
206
-`group_id` (Number) The id of the check group this check is part of.
207
207
-`group_order` (Number) The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
208
208
-`local_setup_script` (String) A valid piece of Node.js code to run in the setup phase.
209
209
-`local_teardown_script` (String) A valid piece of Node.js code to run in the teardown phase.
210
-
-`locations` (Set of String) An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
210
+
-`locations` (Set of String) An array of one or more data center locations where to run the checks.
211
211
-`max_response_time` (Number) The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 30000. (Default `30000`).
212
212
-`muted` (Boolean) Determines if any notifications will be sent out when a check fails/degrades/recovers.
213
213
-`private_locations` (Set of String) An array of one or more private locations slugs.
214
-
-`request` (Block Set, Max: 1) An API check might have one request config. (see [below for nested schema](#nestedblock--request))
215
-
-`retry_strategy` (Block Set, Max: 1) A strategy for retrying failed check runs. (see [below for nested schema](#nestedblock--retry_strategy))
214
+
-`request` (Attributes) (see [below for nested schema](#nestedatt--request))
215
+
-`retry_strategy` (Attributes) A strategy for retrying failed check runs. (see [below for nested schema](#nestedatt--retry_strategy))
216
216
-`run_parallel` (Boolean) Determines if the check should run in all selected locations in parallel or round-robin.
217
217
-`runtime_id` (String) The id of the runtime to use for this check.
218
218
-`script` (String) A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a reference to an external JavaScript file.
219
219
-`setup_snippet_id` (Number) An ID reference to a snippet to use in the setup phase of an API check.
220
220
-`should_fail` (Boolean) Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
221
221
-`ssl_check` (Boolean, Deprecated) Determines if the SSL certificate should be validated for expiry.
222
222
-`ssl_check_domain` (String) A valid fully qualified domain name (FQDN) to check its SSL certificate.
223
-
-`tags` (Set of String) A list of tags for organizing and filtering checks.
223
+
-`tags` (Set of String) Tags for organizing and filtering checks.
224
224
-`teardown_snippet_id` (Number) An ID reference to a snippet to use in the teardown phase of an API check.
225
225
-`use_global_alert_settings` (Boolean) When true, the account level alert settings will be used, not the alert setting defined on this check.
226
226
227
227
### Read-Only
228
228
229
229
-`id` (String) The ID of this resource.
230
+
-`last_updated` (String) When the resource was last updated by the provider.
### Nested Schema for `alert_channel_subscription`
233
234
234
235
Required:
@@ -237,28 +238,28 @@ Required:
237
238
-`channel_id` (Number)
238
239
239
240
240
-
<aid="nestedblock--alert_settings"></a>
241
+
<aid="nestedatt--alert_settings"></a>
241
242
### Nested Schema for `alert_settings`
242
243
243
244
Optional:
244
245
245
246
-`escalation_type` (String) Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
246
-
-`parallel_run_failure_threshold` (Block List) (see [below for nested schema](#nestedblock--alert_settings--parallel_run_failure_threshold))
247
-
-`reminders` (Block List) (see [below for nested schema](#nestedblock--alert_settings--reminders))
248
-
-`run_based_escalation` (Block List) (see [below for nested schema](#nestedblock--alert_settings--run_based_escalation))
249
-
-`ssl_certificates` (Block Set, Deprecated) (see [below for nested schema](#nestedblock--alert_settings--ssl_certificates))
250
-
-`time_based_escalation` (Block List) (see [below for nested schema](#nestedblock--alert_settings--time_based_escalation))
247
+
-`parallel_run_failure_threshold` (Attributes) (see [below for nested schema](#nestedatt--alert_settings--parallel_run_failure_threshold))
248
+
-`reminders` (Attributes) (see [below for nested schema](#nestedatt--alert_settings--reminders))
249
+
-`run_based_escalation` (Attributes) (see [below for nested schema](#nestedatt--alert_settings--run_based_escalation))
250
+
-`ssl_certificates` (Attributes, Deprecated) At what interval the reminders should be sent. (see [below for nested schema](#nestedatt--alert_settings--ssl_certificates))
251
+
-`time_based_escalation` (Attributes) (see [below for nested schema](#nestedatt--alert_settings--time_based_escalation))
### Nested Schema for `alert_settings.run_based_escalation`
272
273
273
274
Optional:
274
275
275
276
-`failed_run_threshold` (Number) After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
### Nested Schema for `alert_settings.ssl_certificates`
280
281
281
282
Optional:
@@ -284,7 +285,7 @@ Optional:
284
285
-`enabled` (Boolean) Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
### Nested Schema for `alert_settings.time_based_escalation`
289
290
290
291
Optional:
@@ -293,21 +294,21 @@ Optional:
293
294
294
295
295
296
296
-
<aid="nestedblock--environment_variable"></a>
297
+
<aid="nestedatt--environment_variable"></a>
297
298
### Nested Schema for `environment_variable`
298
299
299
300
Required:
300
301
301
-
-`key` (String)
302
-
-`value` (String)
302
+
-`key` (String) The name of the environment variable.
303
+
-`value` (String, Sensitive) The value of the environment variable. By default the value is plain text and can be seen by any team member. It will also be present in check results and logs.
303
304
304
305
Optional:
305
306
306
-
-`locked` (Boolean)
307
-
-`secret` (Boolean)
307
+
-`locked` (Boolean) Locked environment variables are encrypted at rest and in flight on the Checkly backend and are only decrypted when needed. Their value is hidden by default, but can be accessed by team members with the appropriate permissions.
308
+
-`secret` (Boolean) Secret environment variables are always encrypted and their value is never shown to any user. However, keep in mind that your Terraform state will still contain the value.
308
309
309
310
310
-
<aid="nestedblock--request"></a>
311
+
<aid="nestedatt--request"></a>
311
312
### Nested Schema for `request`
312
313
313
314
Required:
@@ -316,8 +317,8 @@ Required:
316
317
317
318
Optional:
318
319
319
-
-`assertion` (Block Set) A request can have multiple assertions. (see [below for nested schema](#nestedblock--request--assertion))
320
-
-`basic_auth` (Block Set, Max: 1) Set up HTTP basic authentication (username & password). (see [below for nested schema](#nestedblock--request--basic_auth))
320
+
-`assertion` (Attributes List) (see [below for nested schema](#nestedatt--request--assertion))
321
+
-`basic_auth` (Attributes) Credentials for Basic HTTP authentication. (see [below for nested schema](#nestedatt--request--basic_auth))
321
322
-`body` (String) The body of the request.
322
323
-`body_type` (String) The `Content-Type` header of the request. Possible values `NONE`, `JSON`, `FORM`, `RAW`, and `GRAPHQL`.
323
324
-`follow_redirects` (Boolean)
@@ -327,31 +328,31 @@ Optional:
327
328
-`query_parameters` (Map of String)
328
329
-`skip_ssl` (Boolean)
329
330
330
-
<aid="nestedblock--request--assertion"></a>
331
+
<aid="nestedatt--request--assertion"></a>
331
332
### Nested Schema for `request.assertion`
332
333
333
334
Required:
334
335
335
336
-`comparison` (String) The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
336
337
-`source` (String) The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
0 commit comments