Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 2.66 KB

File metadata and controls

55 lines (42 loc) · 2.66 KB

Load Balancer

terraform init -backend-config="access_key=access_key" \
    -backend-config="secret_key=secret_key" \
    -backend-config="bucket=bucket"

Requirements

Name Version
terraform ~> 1.1.0
yandex 0.61.0

Providers

Name Version
yandex 0.61.0

Modules

Name Source Version
ya_instance_1 ./modules/instance n/a
ya_instance_2 ./modules/instance n/a

Resources

Name Type
yandex_lb_network_load_balancer.lb resource
yandex_lb_target_group.tg resource
yandex_vpc_network.lab_net resource
yandex_vpc_subnet.lab_subnet_a resource
yandex_vpc_subnet.lab_subnet_b resource

Inputs

Name Description Type Default Required
auth_token Security token or IAM token used for authentication in Yandex.Cloud string n/a yes
cloud_id The ID of the cloud to operate under string n/a yes
folder_id The ID of the folder to operate under string n/a yes

Outputs

Name Description
external_ip_address_lb Public IP address of load balancer
external_ip_address_vm_1 Public IP address of vm 1
external_ip_address_vm_2 Public IP address of vm 2