add random suffix for machine learning workspace to avoid testing failure.
This commit is contained in:
parent
cc391fef1f
commit
7e2f19b6cb
@ -47,9 +47,14 @@ resource "azurerm_container_registry" "default" {
|
|||||||
public_network_access_enabled = false
|
public_network_access_enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "random_string" "workspace_suffix" {
|
||||||
|
length = 10
|
||||||
|
special = false
|
||||||
|
}
|
||||||
|
|
||||||
# Machine Learning workspace
|
# Machine Learning workspace
|
||||||
resource "azurerm_machine_learning_workspace" "default" {
|
resource "azurerm_machine_learning_workspace" "default" {
|
||||||
name = "mlw-${var.name}-${var.environment}"
|
name = "mlw-${var.name}-${var.environment}-${random_string.workspace_suffix.result}"
|
||||||
location = azurerm_resource_group.default.location
|
location = azurerm_resource_group.default.location
|
||||||
resource_group_name = azurerm_resource_group.default.name
|
resource_group_name = azurerm_resource_group.default.name
|
||||||
application_insights_id = azurerm_application_insights.default.id
|
application_insights_id = azurerm_application_insights.default.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user