The current app service plan module is tightly coupled with a Terraform autoscaling profile resource that prevents the creation of an app service plan if the app service plan is given configurations for auto-elastic azure function support. This type of configuration assumes a service plan that is dedicated to azure functions only and not bundled with other app services. Referencing the app service plan module fails in this scenario.
Description
As a user, I'd like to be able to configure the app service plan module with auto-elastic azure function support so that I can provision azure functions from Cobalt that are not bundled with other App Services within the same plan.
[x] Include a screenshot of an auto-elastic azure function that was deployed with this fix.
Also, here are a few points that need to be addressed:
custom-elastic azure function support vs auto-elastic azure function support
This fix is not about custom-elastic azure function support, as that's a premium tier plan that already allows you to configure an app service plan that supports an azure function on top of custom auto-scaling rules. This scenario is already currently supported within Cobalt.
Background
The current app service plan module is tightly coupled with a Terraform autoscaling profile resource that prevents the creation of an app service plan if the app service plan is given configurations for auto-elastic azure function support. This type of configuration assumes a service plan that is dedicated to azure functions only and not bundled with other app services. Referencing the app service plan module fails in this scenario.
Description
As a user, I'd like to be able to configure the app service plan module with auto-elastic azure function support so that I can provision azure functions from Cobalt that are not bundled with other App Services within the same plan.
Acceptance Criteria
Reference: [Done-Done Checklist] (https://github.com/Microsoft/code-with-engineering-playbook/blob/master/Engineering/BestPractices/DoneDone.md)
Also, here are a few points that need to be addressed:
custom-elastic azure function support vs auto-elastic azure function support
Resources
https://docs.microsoft.com/en-us/azure/architecture/best-practices/auto-scaling :
Tasks