Skip to content

Allow Specifying Entry Point Folder #131

Closed

Description

@runarj

Currently, AZURE_FUNCTIONAPP_PACKAGE_PATH defines both the root folder that will be loaded into the Azure Function and the folder that is the entry point for the function. I have a file structure where the function code requires files higher up in the hierarchy than the function root folder.

As an example, consider this structure below, where function/ refers files in library/. If I specify project/function/ as AZURE_FUNCTIONAPP_PACKAGE_PATH, the folder library/ will not be uploaded.

project
->function
->library

I can work around the problem by changing the structure:

project
->function
->-> library

To avoid using the workaround, it would be nice if a new variable AZURE_FUNCTIONAPP_ENTRY_POINT_PATH was added. This variable would specify the path of the folder where the Azure Function code is defined.

Activity

  1. github-actions commented on Jun 16, 2022

    @github-actions

    This issue is idle because it has been open for 14 days with no activity.

  2. locked and limited conversation to collaborators on Jul 27, 2022
  3. converted this issue into a discussion #141 on Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions