1. Packages
  2. Checkly
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

Checkly

checkly logo
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

    The Checkly provider for Pulumi can be used to provision any of the monitoring resources available in Checkly. The Checkly provider must be configured with the an API Key and also set the target Account ID in order to deploy Checkly resources.

    Example

    const checkly = require("@checkly/pulumi")
    
    new checkly.Check("api-check", {
      activated: true,
      frequency: 10,
      type: "API",
      request: {
        method: "GET",
        url: "https://checklyhq.com",
      }
    })
    
    new checkly.Check("browser-check", {
      activated: true,
      frequency: 10,
      type: "BROWSER",
      script: 'console.log("Hello World!")'
    })
    
    import * as checkly from "@checkly/pulumi";
    
    new checkly.Check( "api-check", {
      activated: true,
      frequency: 10,
      type: "API",
      request: {
        method: "GET",
        url: "https://checklyhq.com",
      }
    })
    
    new checkly.Check( "browser-check", {
      activated: true,
      frequency: 10,
      type: "BROWSER",
      script: 'console.log("Hello World!")'
    })
    

    You could find more complete and detailed examples in the pulumi-checkly repository

    checkly logo
    Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly