Giter Club home page Giter Club logo

Comments (7)

JustinGrote avatar JustinGrote commented on May 20, 2024 1

from azure-functions-powershell-worker.

TylerLeonhardt avatar TylerLeonhardt commented on May 20, 2024

Alternatively, if Azure Functions already exposes an Environment variable, we could possibly leave it at that.

@asavaritayal @pragnagopa and idea if this is a thing?

from azure-functions-powershell-worker.

dfinke avatar dfinke commented on May 20, 2024

Was thinking about how to get that the other day. I want to test my PS code locally but emit the results to $res if I'm running as an Azure Function.

from azure-functions-powershell-worker.

TylerLeonhardt avatar TylerLeonhardt commented on May 20, 2024

Good point @dfinke something like this could enable users to write scripts that would work locally and in Azure Functions.

from azure-functions-powershell-worker.

joeyaiello avatar joeyaiello commented on May 20, 2024

Let's talk to the AzF team about adding an environment variable to the host that tells you you're in an Azure Function.

from azure-functions-powershell-worker.

TylerLeonhardt avatar TylerLeonhardt commented on May 20, 2024

Today they rely on:

WEBSITE_INSTANCE_ID

It would probably be nice to have a more customer friendly env var.

from azure-functions-powershell-worker.

anirudhgarg avatar anirudhgarg commented on May 20, 2024

There are a number of this including WEBSITE_INSTANCE_ID.

from azure-functions-powershell-worker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.