ionoscloud_target_group
Creates and manages IonosCloud Target Group.
Example Usage
resource "ionoscloud_target_group" "example" {
name = "Target Group Example"
algorithm = "ROUND_ROBIN"
protocol = "HTTP"
protocol_version = "HTTP1"
targets {
ip = "22.231.2.2"
port = "8080"
weight = "1"
proxy_protocol = "v2ssl"
health_check_enabled = true
maintenance_enabled = false
}
targets {
ip = "22.231.2.3"
port = "8081"
weight = "124"
proxy_protocol = "v2"
health_check_enabled = false
maintenance_enabled = false
}
health_check {
check_timeout = 5000
check_interval = 50000
retries = 2
}
http_health_check {
path = "/."
method = "GET"
match_type = "STATUS_CODE"
response = "200"
regex = true
negate = true
}
}Argument Reference
Import
Last updated
