0
0
llucycodes42
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"
}