Terraform module which creates Yandex Cloud Network Load Balancer resources.
Examples codified under
the examples
are intended
to give users references for how to use the module(s) as well as testing/validating changes to the source code of the
module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow
maintainers to test your changes and to keep the examples up to date for users. Thank you!
Name | Version |
---|---|
terraform | >= 1.3 |
yandex | >= 0.72.0 |
Name | Version |
---|---|
yandex | >= 0.72.0 |
No modules.
Name | Type |
---|---|
yandex_lb_network_load_balancer.main | resource |
yandex_lb_target_group.main | resource |
yandex_vpc_address.pip | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
create_pip | If true, public IP will be created | bool |
true |
no |
create_target_group | If true, target group will be created | bool |
false |
no |
description | Network load balancer description | string |
"" |
no |
health_check | Target group health check | object({ |
{ |
no |
labels | A set of labels | map(string) |
{} |
no |
listeners | Network load balancer listeners | list(object({ |
[] |
no |
name | Network load balancer name | string |
n/a | yes |
pip | Public IP address for the network load balancer | string |
null |
no |
pip_zone_id | Public IP zone | string |
"ru-central1-a" |
no |
region_id | ID of the availability zone where the network load balancer resides | string |
null |
no |
subnet_id | Private subnet where IP for NLB listener will be allocated | string |
null |
no |
target_group_ids | IDs of target groups that will be attached to Network Load Balancer | list(string) |
[] |
no |
targets | Network load balancer targets | list(object({ |
[] |
no |
type | Network load balancer type; Can be internal or external | string |
"internal" |
no |
Name | Description |
---|---|
external_ip | External IP address of the Network Load Balancer |
id | Network Load Balancer ID |
name | Network Load Balancer name |
tg_id | Target group ID |
tg_name | Target group name |
Apache-2.0 Licensed. See LICENSE.