question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linux ElasticPremium plan is not yet supported

See original GitHub issue

The workflow working for Functions Consumption plan does not work for Functions Premium plan.

Github Action step:

..............
    - name: 'Login via Azure CLI'
      uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }}

    - name: 'Deploy Azure Functions Action'
      uses: Azure/functions-action@v1
      id: fa
      with:
        app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}-${{ env.ENVIRONMENT }}
        package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
..............

Result:

Run Azure/functions-action@v1
##[Initialize]
##[ValidateParameter]
##[ValidateAzureResource]
Using RBAC for authentication, GitHub Action will perform resource validation.
Sucessfully acquired site configs from function app!
Detected function app sku: ElasticPremium
Sucessfully acquired app settings from function app (RBAC)!
Detected function app language: Python
##[error]Execution Exception (state: ValidateAzureResource) (step: ChangeContext)
##[error]  At ValidateAzureResource, Function Runtime : Linux ElasticPremium plan is not yet supported.
##[error]Deployment Failed!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
imduchycommented, Jun 11, 2020

I’m experiencing a similar problem after upgrading from the Dynamic Y1 to the Premium P1v2 tier. The deployment seems to be successful but I can’t see any function listed, neither a new blob in a Storage Account.

Initially, I set the WEBSITE_RUN_FROM_PACKAGE to an empty string ("").

This is my setup and I’m using RBAC.

- name: Deploy to Azure Function
  uses: Azure/functions-action@v1
  with:
    app-name: my-amazing-app
1reaction
edouardrcommented, May 28, 2020

To add to my previous comment, deployment was successful, however I can’t see any function listed. It appears package was deployed but function app is not working as expected. Any idea?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Functions Linux Elastic Premium plan increased ...
Maximum scale-out limits for Functions Linux Premium plans have been increased in a number of regions.
Read more >
WEBSITE_CONTENTAZUREFIL...
Only used by function apps on a Consumption or Premium plans running on Windows. Not supported for Linux. My function seems to run...
Read more >
Azure Functions – 2022 update
Azure Functions Linux Elastic Premium plan increased maximum scale-out limits ... This initial preview does not yet include support for ...
Read more >
azurerm_app_service_plan | Resources | hashicorp/azurerm
kind - (Optional) The kind of the App Service Plan to create. Possible values are Windows (also available as App ), Linux ,...
Read more >
Amazon EC2 FAQs - Amazon Web Services
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides ... if you do not already have one, you will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found