Do we need multiple Azure API management instances? for DEV, UAT, PROD environment? If we do, then how do we source control the dev instance and release it to uat & prod programmatically. My findings on the net and own practice can be summarized as:-
- Source control for the dev instance can be obtained, however pushing the same instance to uat apim instance will result in key error, hence the source code for dev apim instance can only be used by dev instance.
- Many developer opt to go to generate the OpenAPI template from dev apim instance, then import this OpenAPI template into uat apim instance. This still results in manual updates for the backend routing for all the apis (if u got 100 api, wow thats a lot of copy pasting and update to uat api routing).