Quote:
5 resource groups with 1 app each and the apps are the same for now, in the future they might have some specific params of deployment.
I recommend that you use DevOps tools to automate this. Infrastructure as Code is one big term that comes to mind when this approach needs to be taken care of.
Quote:
azure template configuration to create app service with CI/CD already set up to track devops repo
If you want to create a new resource, then Azure Resource Manager Templates would work. If you want to update the existing web application, then this might not be a good solution. Since a solution redeployment is not what you are looking for.
I authored a blog post to discuss this topic, and how it can help you to write reusable infrastructure definitions, read
it here[
^].
Quote:
Just trigger a script or whatever and make it update the apps automatically. What's a good approach here?
It depends on how you are deploying the application. Is the application a Docker image? If so, you can use the web hooks to trigger an update on the production.
For other cases, such as monolith, you can use DevOps tools like GitLab Auto DevOps or Azure DevOps release pipelines to update the application on the cloud.
Check out this documentation, it gives an overview of this scenario:
Release pipelines - Azure Pipelines | Microsoft Docs[
^]