Skip to content

Machine Learning Workspace naming convention. #170

@liebe1627

Description

@liebe1627

I wanted to create the Azure AI Foundry Hub and Project. I was able to create the services successfully, but there was one area where I had to compromise. When creating these services, a prefix "aiserviceconnection" is automatically added to the name. This causes an issue because the Hub and Project names must follow a specific naming pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$". Due to the automatically added prefix, I'm unable to use the desired name.

Related AVM Module
Azure/avm-res-machinelearningservices-workspace/azurerm

Error:
Embedded schema validation failed: the argument "body" is invalid: name is invalid, string does not match pattern ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

The error message suggests either updating the azapi provider to the latest version or disabling the validation using the feature flag schema_validation_enabled = false within the resource block.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions