back
terraform {
required_providers {
oci = ">= 4.21.0"
}
}
top
module "oci_load_balancer_health" {
source = "./modules/oci/d/oci_load_balancer_health"
# load_balancer_id - (required) is a type of string
load_balancer_id = null
}
top
variable "load_balancer_id" {
description = "(required)"
type = string
}
top
data "oci_load_balancer_health" "this" {
# load_balancer_id - (required) is a type of string
load_balancer_id = var.load_balancer_id
}
top
output "critical_state_backend_set_names" {
description = "returns a list of string"
value = data.oci_load_balancer_health.this.critical_state_backend_set_names
}
output "id" {
description = "returns a string"
value = data.oci_load_balancer_health.this.id
}
output "status" {
description = "returns a string"
value = data.oci_load_balancer_health.this.status
}
output "total_backend_set_count" {
description = "returns a number"
value = data.oci_load_balancer_health.this.total_backend_set_count
}
output "unknown_state_backend_set_names" {
description = "returns a list of string"
value = data.oci_load_balancer_health.this.unknown_state_backend_set_names
}
output "warning_state_backend_set_names" {
description = "returns a list of string"
value = data.oci_load_balancer_health.this.warning_state_backend_set_names
}
output "this" {
value = oci_load_balancer_health.this
}
top