Private Azure Load-Balancer - Terraform module

Terraform Azure RM Module for private Load Balancer

0

Votes

module "mylb" { source = "Azure/loadbalancer/azurerm" location = "westus" type = "private" frontend_subnet_id = "${module.network.vnet_subnets[0]}" frontend_private_ip_address_allocation = "Static" frontend_private_ip_address = "10.0.1.6" "remote_port" { ssh = ["Tcp", "22"] } "lb_port" { http = ["80", "Tcp", "80"] https = ["443", "Tcp", "443"] } "tags" { cost-center = "12345" source = "terraform" }}module "network" { source = "Azure/network/azurerm" resource_group_name = "myapp" location = "westus" address_space = "10.0.0.0/16" subnet_prefixes = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] subnet_names = ["subnet1", "subnet2", "subnet3"] tags = { environment = "dev" costcenter = "it" }}

Vote Here

You must earn at least 1 vote on your snippets to be allowed to vote

Terms Of Use

Privacy Policy

Featured snippets are MIT license

Gears & Masters

Advertise

DevOpsnipp.com © 2020

medium.png