librato_space_chart

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a librato space chart with the given name and description. The librato space chart has an id of "my-space-chart". The space_id is set to the value of the "librato_space.my_space.id" variable. The stream section creates a stream that measures the "server_temp" metric from the "app1" source and publishes the data to the "my-space-chart" space.

    Shortcut: tf_librato_space_chart

    resource "librato_space_chart" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       space_id = "\${librato_space.my_space.id}"
    
       stream {
           metric = "server_temp"
           source = "app1"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.