Hi, good day. In Azure, policy deployed as functio...
# general
o
Hi, good day. In Azure, policy deployed as function app needs an App Service Plan (ASP), by default using Dynamic Tier (Linux Consumption hosting plan). New subscriptions do not have Quota for this tier and needs Microsoft Support for extension. Also, this tier will be retired by 30 September 2028 in existing subscriptions. This is blocking policy deployment in Azure. Other ASP (Basic/Standard/Premium) have some fixed cost associated, discouraging its usage. Is anyone getting this issue? Is there any alternate approach? Is there any plans to support Flex Consumption ASP for azure policy deployment? Error Message: Content: {"Code":"Unauthorized","Message":"This region has quota of 0 instances for your subscription. Try selecting different region or SKU.","Target":null,"Details":[{"Message":"This region has quota of 0 instances for your subscription. Try selecting different region or SKU."},{"Code":"Unauthorized"},{"ErrorEntity":{"ExtendedCode":"52039","MessageTemplate":"{0}. Try selecting different region or SKU.","Parameters":["This region has quota of 0 instances for your subscription"],"Code":"Unauthorized","Message":"This region has quota of 0 instances for your subscription. Try selecting different region or SKU."}}],"Innererror":null}
c
hi Omendra: i think you're asking about https://cloudcustodian.io/docs/azure/configuration/functionshosting.html, and what i'm hearing is that you are looking for options besides basic, standard, or premium azure service plans. in particular, you're interested in support for https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan. do i have this right?
o
Hi Chris, thanks for responding. Yes, I am more interested Flex Consumption Plan. There is also an issue raised for the same but no further update on it. I want to deploy the policy but I do not want significant cost on ASP. Issue Link: Support Azure Functions Flex Consumption plan · Issue #10109 · cloud-custodian/cloud-custodian
Hi, good day, any update on this?
a
If that feature request is interesting to you, you can certainly 👍 it or take a crack at a pull request to update the provisioning logic we use under the hood. Thanks @Chris Watkins for helping us tie this question to an existing issue 🙏
o
Hi AJ, Thanks for the clarification! I’ve added a 👍 to the feature request and will keep an eye on its progress. Appreciate the guidance!
🍻 1