formatting updates
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
# Network Security Groups
|
||||
|
||||
resource "azurerm_network_security_group" "nsg-training" {
|
||||
name = "nsg-training"
|
||||
location = azurerm_resource_group.default.location
|
||||
@ -16,6 +15,7 @@ resource "azurerm_network_security_group" "nsg-training" {
|
||||
source_address_prefix = "BatchNodeManagement"
|
||||
destination_address_prefix = "*"
|
||||
}
|
||||
|
||||
security_rule {
|
||||
name = "AzureMachineLearning"
|
||||
priority = 110
|
||||
@ -49,7 +49,7 @@ resource "azurerm_subnet_network_security_group_association" "nsg-aks-link" {
|
||||
|
||||
# User Defined Routes
|
||||
|
||||
#UDR for Compute instance and compute clusters
|
||||
# UDR for Compute instance and compute clusters
|
||||
resource "azurerm_route_table" "rt-training" {
|
||||
name = "rt-training"
|
||||
location = azurerm_resource_group.default.location
|
||||
@ -84,8 +84,8 @@ resource "azurerm_subnet_route_table_association" "rt-training-link" {
|
||||
subnet_id = var.training_subnet_resource_id
|
||||
route_table_id = azurerm_route_table.rt-training.id
|
||||
}
|
||||
# Inferencing (AKS) Route
|
||||
|
||||
# Inferencing (AKS) Route
|
||||
resource "azurerm_route_table" "rt-aks" {
|
||||
name = "rt-aks"
|
||||
location = azurerm_resource_group.default.location
|
||||
|
@ -21,7 +21,6 @@ variable "image_build_compute_name" {
|
||||
}
|
||||
|
||||
# Existing subnets variables
|
||||
|
||||
variable "training_subnet_resource_id" {
|
||||
type = string
|
||||
description = "Resource ID of the existing training subnet"
|
||||
@ -39,7 +38,6 @@ variable "ml_subnet_resource_id" {
|
||||
|
||||
|
||||
# Existing private DNS zones variables
|
||||
|
||||
variable "privatelink_api_azureml_ms_resource_id" {
|
||||
type = string
|
||||
description = "Resource ID of the existing privatelink.api.azureml.ms private dns zone"
|
||||
|
Reference in New Issue
Block a user