# Certificate Tests

To setup a test that checks for a valid TLS certificate that doesn't expire for more than 14 days:

resource "synthetigo_test" "this" resource "synthetigo_test" "this" {
    name     = "Some test name"
    regions  = ["uk"]
    schedule = "* * * * *"
    
    step {
        name = "Simple Cert"
        kind = "cert"
        options = {
            host    = "synthetigo.dev"
            port    = 443
            timeout = "1s"
            expiry  = "14d"
        }
    }
}