File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
infra/modules/load-balancer Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ resource "azurerm_public_ip" "lb" {
44 resource_group_name = var. resource_group_name
55 allocation_method = " Static"
66 sku = " Standard"
7-
8- domain_name_label = var. lb_dns_name
7+ domain_name_label = var. lb_dns_name
98}
109
1110resource "azurerm_lb" "main" {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ variable "virtual_network_main_id" { type = string }
66variable "backend_subnet_id" { type = string }
77variable "mysql_fqdn" { type = string }
88variable "admin_username" { type = string }
9+ variable "lb_dns_name" { type = string }
910
1011variable "ssh_public_key" {
1112 description = " Public SSH key to access VMs"
@@ -18,7 +19,4 @@ variable "lb_api_port" {
1819 default = 8080
1920}
2021
21- variable "lb_dns_name" {
22- description = " DNS label for the public IP"
23- type = string
24- }
22+
You can’t perform that action at this time.
0 commit comments