ibm_lb_service

    0

    0

    lucycodes42

    Terraform snippets

    The following code defines a resource named "ibm_lb" with the following attributes:

    connections : 250

    datacenter : ""

    ha_enabled : false

    dedicated : false

    The following code defines a resource named "ibm_lb_service_group" with the following attributes:

    port :

    routing_method : ""

    routing_type : "HTTP"

    load_balancer_id : "${ibm_lb.myResourceName.id}"

    allocation :

    The following code defines a resource named "ibm_lb_service" with the following attributes:

    port : 80

    enabled : true

    service_group_id : "${ibm_lb_service_group.myResourceName_lb_service_group.service_group_id}"

    weight : 1

    health_check_type : ""

    ip_address_id : "${ibm_compute_vm_instance.myResourceName.

    Shortcut: tf_ibm_lb_service

    resource "ibm_lb" "${myResourceName}" {
       connections = 250
       datacenter    = ""
       ha_enabled  = false
       dedicated = false
    }
    resource "ibm_lb_service_group" "${myResourceName}" {
       port = 
       routing_method = ""
       routing_type = "HTTP"
       load_balancer_id = "${ibm_lb.myResourceName.id}"
       allocation = 
    }
    resource "ibm_lb_service" "${myResourceName}" {
       port = 80
       enabled = true
       service_group_id = "${ibm_lb_service_group.myResourceName_lb_service_group.service_group_id}"
       weight = 1
       health_check_type = ""
       ip_address_id = "${ibm_compute_vm_instance.myResourceName.ip_address_id}"
    }
    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.