Skip to content

Commit

Permalink
feat(naming): add elastic search resource type and conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGottinger committed Jun 12, 2024
1 parent b7f2670 commit cce6f39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/naming/convention.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var namingConventions = []namingConvention{
{resources.EventgridTopicSpace, 3, 50, true, true, false, CaseInsensitive},
{resources.StorageBackupVault, 2, 50, true, true, false, CaseInsensitive},
{resources.DataFactory, 3, 63, true, true, false, CaseInsensitive},
{resources.ElasticSearch, 3, 90, true, true, false, CaseInsensitive},
}

func findNamingConvention(resourceType resources.AzureResourceType) namingConvention {
Expand Down
3 changes: 2 additions & 1 deletion pkg/naming/resources/azure_resource_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ const (
EventGridNamespace AzureResourceType = "egns"
EventgridTopicSpace AzureResourceType = "egts"
StorageBackupVault AzureResourceType = "sbv"
DataFactory AzureResourceType = "df"
DataFactory AzureResourceType = "df"
ElasticSearch AzureResourceType = "es"
)

0 comments on commit cce6f39

Please sign in to comment.