Hi Tej ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
As per my understanding , you want to retain the configuration settings of Integration runtime from one environment to another during migration of synapse ARM template.
You can retain the IR compute properties when deploying from one env to another. To change these properties you must use a custom parameterization
Kindly go through the below documentation for more details:
Create custom parameters in the workspace template
CICD Automation in Synapse Analytics: taking advantage of custom parameters in Workspace Templates
Hope it helps. Please do consider clicking Accept Answer.