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"

      Terraform language logo

      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


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.