grafana_data_source

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a data source called "myResourceName" that uses the "influxdb" database management system.

    Shortcut: tf_grafana_data_source

    resource "grafana_data_source" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       type          = "influxdb"
       url           = "http://influxdb.example.net:8086/"
       username      = "myapp"
       password      = "foobarbaz"
       database_name = "\${influxdb_database.metrics.name}"
    }
    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.