-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing load balancer health check by including the monitoring subnet …
…info in the sensor configuration to ensure LB probes coming into the monitoring NIC also go out the monitoring NIC.
- Loading branch information
1 parent
1c429bd
commit 4930b18
Showing
5 changed files
with
64 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
locals { | ||
monitoring_subnet_resource_id_slice = split("/", var.monitoring_subnet_id) | ||
} | ||
|
||
data "azurerm_subnet" "mon_subnet" { | ||
name = local.monitoring_subnet_resource_id_slice[length(local.monitoring_subnet_resource_id_slice) - 1] | ||
resource_group_name = var.resource_group_name | ||
virtual_network_name = local.monitoring_subnet_resource_id_slice[8] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters