pulumi / pulumi-azure-native

Azure Native Provider
Apache License 2.0
125 stars 33 forks source link

Add Container Apps revisions + replicas management support #2792

Open danielbichuetti opened 11 months ago

danielbichuetti commented 11 months ago

Hello!

Issue details

When dealing with complex projects with blue-green deployments, user would like to manage revisions using Azure Native. Revisions and replicas endpoints are not implemented.

More about these endpoints: https://learn.microsoft.com/en-us/rest/api/containerapps/stable/container-apps-revisions https://learn.microsoft.com/en-us/rest/api/containerapps/stable/container-apps-revision-replicas

Affected area/feature

Container Apps revisions and replicas

mikhailshilkov commented 11 months ago

Hi @danielbichuetti Thank you for opening this request.

The revisions API looks to have a somewhat unique design with separate active and deactivate endpoints instead of plain ARM operations based on resource PUT/DELETE: https://learn.microsoft.com/en-us/rest/api/containerapps/stable/container-apps-revisions/activate-revision?tabs=HTTP

It will probably require a manual implementation, which is always a bigger undertaking for us. We will use this issue to track demand and future progress.