Azure-Samples / azure-functions-flex-consumption-samples

Samples for Azure Functions Flex Consumption
MIT License
32 stars 21 forks source link

Deploying separate Azure Functions with separate Virtual Networks fails in same Subscription #38

Closed plamber closed 2 months ago

plamber commented 2 months ago

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I am not sure if this is a bug or if I missed some prerequisites.

We are developing several solutions that utilize Azure Functions Flexconsumption with VNET integration, all within the same subscription. Each solution consists of a dedicated Azure Function with its own VNET, and these solutions are not interconnected. The deployment of the first solution proceeds without any issues. Similarly, the initial deployment of the second solution is successful. However, any attempt to redeploy the second solution fails, returning the error: "The new SKU does not support Regional VNET integration which some apps are still using. Please disconnect apps from Regional VNET integration and try again."

Is there a limitation that requires me to have different subscriptions to handle this use case? Our aim is to have a microservice architecture with all solutions having their own VNET integration and being separated from the rest networkwise.

Minimal steps to reproduce

In the same solution

Expected/desired behavior

I can deploy multiple Azure Functions Flexconsumption with their dedicated VNET integration.

nzthiago commented 2 months ago

Thank you for reporting @plamber - a permanent fix is rolling out in the next few weeks, but until it does you might experience this behavior on occasion unfortunately. We have mitigated it so please re-run your deployment. Let us know if it reoccurs.

plamber commented 2 months ago

Thank you. I will try it out and come back to you in case it is not working

nzthiago commented 2 months ago

@plamber - checking in on this one, want to ensure this is not a blocker for you to continue your testing of Flex Consumption, thank you.

plamber commented 2 months ago

Hi @nzthiago, thank you for reaching out. I was able to deploy two functions without issues. The problem seems to be solved

Thank you