Skip to content

Commit

Permalink
Update deploy names
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-gai authored Nov 5, 2021
1 parent bbef108 commit debf5cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions infrastructure/repost-app/repost-app.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ param appSettings array
// Workaround for https://github.com/Azure/azure-quickstart-templates/issues/2828
param regionName string = 'Central US'

param cosmosDeploymentName string = utcNow()
param appServiceDeploymentName string = utcNow()
param timestamp string = utcNow()

resource resourceGroup 'Microsoft.Resources/resourceGroups@2020-06-01' = {
name: rgName
Expand All @@ -29,7 +28,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2020-06-01' = {

module cosmosModule 'modules/cosmos-module.bicep' = {
scope: resourceGroup
name: cosmosDeploymentName
name: 'cosmos-${timestamp}'
params: {
accountName: cosmosAccountName
location: regionName
Expand All @@ -38,7 +37,7 @@ module cosmosModule 'modules/cosmos-module.bicep' = {

module appServiceModule 'modules/appservice-module.bicep' = {
scope: resourceGroup
name: appServiceDeploymentName
name: 'appservice-${timestamp}'
params: {
appSettings: appSettings
basicPublishingCredentialsPoliciesLocation: regionName
Expand Down

0 comments on commit debf5cb

Please sign in to comment.