@@ -7,9 +7,8 @@ param useWafAlignedArchitecture bool
77@description ('Use this parameter to use an existing AI project resource ID' )
88param existingFoundryProjectResourceId string = ''
99
10- @description ('Optional. The prefix to add in the default names given to all deployed Azure resources.' )
11- @maxLength (19 )
12- param solutionPrefix string = 'macae${uniqueString (deployer ().objectId , deployer ().tenantId , subscription ().subscriptionId , resourceGroup ().id )}'
10+ @description ('Required. Name of the environment to deploy the solution into.' )
11+ param environmentName string
1312
1413@description ('Required. Location for all Resources except AI Foundry.' )
1514param solutionLocation string = resourceGroup ().location
@@ -48,6 +47,8 @@ param gptModelCapacity int = 150
4847@description ('Set the image tag for the container images used in the solution. Default is "latest".' )
4948param imageTag string = 'latest'
5049
50+ param solutionPrefix string = 'macae-${padLeft (take (toLower (uniqueString (subscription ().id , environmentName , resourceGroup ().location )), 12 ), 12 , '0' )}'
51+
5152@description ('Optional. The tags to apply to all deployed Azure resources.' )
5253param tags object = {
5354 app : solutionPrefix
@@ -616,6 +617,7 @@ module bastionHost 'br/public:avm/res/network/bastion-host:0.6.1' = if (virtualN
616617 virtualNetworkResourceId : bastionConfiguration .?virtualNetworkResourceId ?? virtualNetwork .?outputs .?resourceId
617618 publicIPAddressObject : {
618619 name : bastionConfiguration .?publicIpResourceName ?? 'pip-bas${solutionPrefix }'
620+ zones : []
619621 }
620622 disableCopyPaste : false
621623 enableFileCopy : false
@@ -662,7 +664,7 @@ module virtualMachine 'br/public:avm/res/compute/virtual-machine:0.13.0' = if (v
662664 name : 'osdisk-${virtualMachineResourceName }'
663665 createOption : 'FromImage'
664666 managedDisk : {
665- storageAccountType : 'Premium_ZRS '
667+ storageAccountType : 'Standard_LRS '
666668 }
667669 diskSizeGB : 128
668670 caching : 'ReadWrite'
0 commit comments