@Rob Joosen Thank you for reaching out to Microsoft Q&A. Based on my understanding, you are looking to define the module path (appSettings.bicep
) in variable so that you can use it in your pipeline. Please correct me if it is incorrect. I found a similar feature in GH: #2100 and however, this was not implemented. I have discussed with our product team and confirmed all module file references must be literal strings.
Hence you cannot define module path as module appSettings 'appSettings${processName}.bicep'
or like below:
But if you have any idea or like to share feedback directly with our product team, please feel to submit via https://github.com/Azure/bicep/discussions. Also, I can pass it internally on your behalf as well. I hope this answers your question and feel free to add a comment if you have any other questions. We would be happy to assist you. Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.