Hi, The easiest way to do that is to use export arm template feature. After that you can use bicep decompile to convert the JSON to Bicep code. You have to keep something in mind though. The export feature is far from perfect. There is possibility that it might not be able to export everything and things that are not ARM resources. Best is once you have the Bicep code is to deploy to with different parameters in another place (subscription/resource group). Compare the two environments and make sure everything is the same according to your preference. If needed make changes to the Bicep code. After that you can apply the Bicep code with the parameters for the production environment.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.