github actions #243
Closed
pattisanta
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am tying to deploy a bicep file with Microsoft graph extension. I have a main bicep file that looks like this.
extension microsoftGraphV1
import * as namingConventions from '../atomic/namingConventions.bicep'
@description('(Required)(String)Workload should be based on pod or product')
param workload string
@description('(Required)(String)Add a number at the end of your resource for example:sp-bicep-sbx-01')
param instanceNumber string
@description('(Required)(String)the environmnet where your deploying your azure resource')
param env string
@description('(Required)(String[])List of user email addresses to set owner permissions')
param userUPN string[]
var uniqueName = '${namingConventions.namingConventions['Service Principal']}-${workload}-${env}-${instanceNumber}'
module app '../atomic/entra-Application.bicep' = {
params: {
uniqueName:uniqueName
userUPN:userUPN
}
}
module sp '../atomic/entra-servicePrincipal.bicep' = {
params: {
appId: app.outputs.applicationAppId
}
}
and I have a parameter file that looks like this.
var env = '' /TODO/
var instanceNumber = '' /TODO/
var userUPN = ['user email address','user email address','user email address','user email address'] /TODO/
var workload = ''/TODO/
module sp '../../../main/bicep/composite/composite-entraServicePrincipal.bicep' = {
params: {
env: env
instanceNumber: instanceNumber
userUPN: userUPN
workload: workload
}
}
the github workflow fails with
Cannot find path 'D:\a\xxxx\xxxxx\src est�icep estResources\filename.bicep'
Thanks,
Patti
Beta Was this translation helpful? Give feedback.
All reactions