Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Support env, env_file for Azure Function #1161

Closed
GKotfis opened this issue Sep 3, 2021 · 1 comment
Closed

Support env, env_file for Azure Function #1161

GKotfis opened this issue Sep 3, 2021 · 1 comment
Labels

Comments

@GKotfis
Copy link

GKotfis commented Sep 3, 2021

What should we add or change to make your life better?

Add support for env, env_file for azureFunction service

Why is this important to you?

Right now, there is no option to pass any env variables to az function.
I tried to declare it such way:

name: az-functions
services:
- name: my-func
  azureFunction: api/MyFunction
  env_file:
    - env_shared.env

but this leads to an error:

Drats! 'run' failed:
        Unable to determine service type.

Also tried with env - getting same error.

@philliphoff
Copy link
Contributor

Closing per #1171.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants