We want to inject API-M policies, which are xml files.
But in the InjectARM, you can just write plain xml and it is the InjectARM script that turns this into encoded values so the bicep can handle it.
When you use https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-files you also do have this issue.
So basically I would like a bicep version of : https://github.com/arcus-azure/arcus.scripting/blob/main/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1
We want to inject API-M policies, which are xml files.
But in the InjectARM, you can just write plain xml and it is the InjectARM script that turns this into encoded values so the bicep can handle it.
When you use https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-files you also do have this issue.
So basically I would like a bicep version of : https://github.com/arcus-azure/arcus.scripting/blob/main/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1