clc_load_balancer

    0

    0

    lucycodes42

    Terraform snippets

    In the above code, the "clc_load_balancer" resource defines a load balancer for the "api" resource. The load balancer is located in the "data_center" group and has the "name" and "description" properties set to "api". The "status" property is set to "enabled".

    Shortcut: tf_clc_load_balancer

    resource "clc_load_balancer" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
       data_center = "\${clc_group.frontends.location_id}"
       name = "api"
       description = "api load balancer"
       status = "enabled"
    }
    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.