Is there a way to replace tokens within source files automatically? #2311
Replies: 1 comment 1 reply
-
We don't have a way of doing this today. We do have some building blocks that you could use to try to build the solution yourself. The hooks feature would allow you run code at some point (e.g. a pre-run hook for If we did have some built in replacement logic, I am wondering how it would work in practice. It would be bad to edit this file in the source tree, I think, because we would then lose the replacement string. We can get away with doing this replacement in our |
Beta Was this translation helpful? Give feedback.
-
I am deploying a logic App standard as part of the deployment and I have the JSON file with content shown below:
I also have my bicep file with
output AZURE_OPENAI_IDENTITY_RESOURCE_ID string = identity.outputs.resourceId
I would like to be able to automatically replace the token within the deployment file from the output
Beta Was this translation helpful? Give feedback.
All reactions