Skip to content

Commit abb6f4e

Browse files
Resolve FlagMustBeSetToRestore telemetry error
1 parent ccd3359 commit abb6f4e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

infra/main.bicep

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ metadata description = '''This module contains the resources required to deploy
1212
@maxLength(16)
1313
param solutionName string = 'macae'
1414

15+
@description('Optional. Deployment timestamp used to generate unique resource names per deployment.')
16+
param deploymentTime string = utcNow()
17+
1518
@maxLength(5)
16-
@description('Optional. A unique text value for the solution. This is used to ensure resource names are unique for global resources. Defaults to a 5-character substring of the unique string generated from the subscription ID, resource group name, and solution name.')
17-
param solutionUniqueText string = take(uniqueString(subscription().id, resourceGroup().name, solutionName), 5)
19+
@description('Optional. A unique text value for the solution. This is used to ensure resource names are unique for global resources. Defaults to a 5-character substring of the unique string generated from the subscription ID, resource group name, solution name, and deployment time.')
20+
param solutionUniqueText string = take(uniqueString(subscription().id, resourceGroup().name, solutionName, deploymentTime), 5)
1821

1922
@metadata({ azd: { type: 'location' } })
2023
@description('Required. Azure region for all services. Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Azure Database for MySQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/mysql/flexible-server/overview#azure-regions).')

0 commit comments

Comments
 (0)