Skip to content

Commit

Permalink
Update redeploy.bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
yodobrin authored Feb 7, 2023
1 parent 1aec30b commit b5e76d8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions deploy/bicep/redeploy.bicep
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@


// @description('managed identity name from param.json file')
// param managedIdentityName string

@description('container app environment name from param.json file')
param AcaEnvName string

Expand All @@ -19,12 +16,6 @@ param registryLoginServer string = 'ghcr.io'
@description('managed identity name from param.json file')
param managedIdentityName string

// @description('Managed Identity Client Id - created in main.bicep')
// param ManagedIdentityClientId string




param location string = resourceGroup().location

@description('Event Hub Namespace - provided in the param.json file')
Expand Down Expand Up @@ -53,15 +44,6 @@ resource mngIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2022-01-3
name: managedIdentityName
}

// @description('Managed Identity Client Id - created in main.bicep')
// param ManagedIdentityId string = mngIdentity.id

// // in case using an existing log analytics workspace - this is the code to use
// resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2021-12-01-preview' existing = {
// name: 'emitter-log-analytics'
// scope: resourceGroup()
// }

// and this is the code to use for the existing container app environment

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2022-06-01-preview' existing = {
Expand Down

0 comments on commit b5e76d8

Please sign in to comment.