Coder Social home page Coder Social logo

Comments (5)

Frassle avatar Frassle commented on June 21, 2024 1

Just something like PULUMI_ORG/PULUMI_ORGANIZATION?

from pulumi.

ringods avatar ringods commented on June 21, 2024 1

@Frassle yes. I prefer the full word, so PULUMI_ORGANIZATION

from pulumi.

joeduffy avatar joeduffy commented on June 21, 2024

I would suggest PULUMI_DEFAULT_ORGANIZATION instead; simply having PULUMI_ORGANIZATION makes me think that it's going to unilaterally use that organization, when in reality it is just setting the default used when not explicitly passed.

Also, what takes precedence if the end user also supplied pulumi org set-default <org-name>?

from pulumi.

tobiashenkel avatar tobiashenkel commented on June 21, 2024

From end user point of view I would expect the environment variable to take precedence over pulumi org set-default <org-name>. This would be important in our direnv based workflow as this aims to make the deployment scripts as independent as possible from individual user configuration.

from pulumi.

AaronFriel avatar AaronFriel commented on June 21, 2024

We recently shipped PULUMI_ORGANIZATION as an env var in Pulumi YAML:

https://github.com/pulumi/pulumi-yaml/pull/578/files#diff-104a11712684e520f0affa95e6a053faeb713306a10f69ee99b9729cc9dd1996R134

Likely do not want to conflict with that, so 👍 to Joe's comment.

from pulumi.

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.