librato_alert

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource named "librato_alert" and specifies the following properties:

    name: "librato_alert"

    description: "An alerted state for the myResourceName"

    services: [ "${librato_service.myservice.id}" ]

    condition {

    type: "above"

    threshold: 10

    metric_name: "librato.cpu.percent.

    Shortcut: tf_librato_alert

    resource "librato_alert" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       services = [ "\${librato_service.myservice.id}" ]
       condition {
           type = "above"
           threshold = 10
           metric_name = "librato.cpu.percent.idle"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.