atatus_ssl_check resource manages SSL/TLS certificate and connection monitoring checks in Atatus.
Use this resource to monitor SSL certificate expiration, supported TLS versions, and TLS handshake latency for configured domains and endpoints across testing locations. The resource supports creating, updating, and deleting synthetic SSL/TLS checks through Terraform.
Dashboard guide: SSL check. Provider setup and authentication: Terraform overview. Registry reference: atatus_ssl_check.
Example Usage
Production SSL Certificate & Handshake Check
Argument Reference
Required Arguments
-
name- (String) Name of the SSL synthetic check as displayed in the Atatus dashboard. -
host- (String) Hostname or domain name to check for SSL/TLS (e.g.www.example.com). -
port- (Number) Port number for the SSL connection (default:443). -
tags- (List of Strings) List of tags (e.g.["env:production", "team:security"]).
SSL Assertions Reference
assertion- (List of Objects) Rules to validate SSL certificate validity, TLS versions, and handshake response times.
🌍 Supported Location Codes Reference
locations- (List of Strings) Array of global region codes where the check is executed from. Default:["US_NEW_YORK"].
locations attribute of any synthetic check, use the following region codes.
Common Settings Reference (Applicable to all check types)
-
run_type- (String) Execution strategy across selected testing locations ("parallel"or"sequential"). Default:"parallel". When set to"sequential", locations run in sequence andmin_location_failedcannot be configured. -
frequency- (String) Execution frequency interval ("1m","5m","10m","15m","30m","1h","6h","12h","1d"). Default:"5m". -
retry_count- (Number) Number of automatic retries before triggering an alert upon check failure (0to3). Supported for both"parallel"and"sequential"runs. Default:0. -
min_location_failed- (Number) Minimum number of failed locations required before alerting (default:1). Note: Only applicable whenrun_typeis"parallel". Configuringmin_location_failedwhenrun_type = "sequential"is not allowed and produces a validation error. -
emails- (List of Strings) Email addresses to alert directly when the check fails (auto-mapped to Atatus notification channels). -
channel_ids- (List of Strings) Notification channel IDs to alert on failure. See Notification channels.