Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions arm/Microsoft.Automation/automationAccounts/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ module automationAccount_jobSchedules 'jobSchedules/deploy.bicep' = [for (jobSch
}]

module automationAccount_variables 'variables/deploy.bicep' = [for (variable, index) in variables: {
name: '${uniqueString(deployment().name, location)}-AutoAccount-variable-${index}'
name: '${uniqueString(deployment().name, location)}-AutoAccount-Variable-${index}'
params: {
automationAccountName: automationAccount.name
name: variable.name
Expand Down Expand Up @@ -310,7 +310,7 @@ resource automationAccount_diagnosticSettings 'Microsoft.Insights/diagnosticSett
}

module automationAccount_privateEndpoints '.bicep/nested_privateEndpoint.bicep' = [for (endpoint, index) in privateEndpoints: if (!empty(privateEndpoints)) {
name: '${uniqueString(deployment().name, location)}-AutoAccount-PrivateEndpoints-${index}'
name: '${uniqueString(deployment().name, location)}-AutoAccount-PrivateEndpoint-${index}'
params: {
privateEndpointResourceId: automationAccount.id
privateEndpointVnetLocation: (empty(privateEndpoints) ? 'dummy' : reference(split(endpoint.subnetResourceId, '/subnets/')[0], '2020-06-01', 'Full').location)
Expand Down