sparse-intern-71089
03/15/2021, 5:58 PMwitty-candle-66007
03/15/2021, 6:36 PMworried-knife-31967
03/15/2021, 6:39 PMworried-knife-31967
03/15/2021, 6:43 PMwitty-candle-66007
03/15/2021, 7:11 PMpulumi up
a stack has to be init-ed or selected, which requires being able to login to the state backend.
If the intent is for individuals to have their own stacks, they could use the “local” backend (https://www.pulumi.com/docs/intro/concepts/state/#logging-into-the-local-filesystem-backend).
Otherwise, you would need to set up another storage container for the devs to use if the goal is to not use the production storage.worried-knife-31967
03/15/2021, 7:50 PMprehistoric-nail-50687
03/16/2021, 12:53 PMwitty-candle-66007
03/16/2021, 2:06 PMpulumi up
is run. So, if the intent is to have multiple developers working against the same stack (i.e. a given instantiation of a project’s declared resources), those developers need to be able to access the state backend. Otherwise, devs can work against their own stacks as they develop the code before committing it to source control. And, then the CI/CD can deploy the staging, test, prod stacks as the code is committed. FWIW, state management is one of the advantages of the Pulumi SaaS since it takes care of all that for you and allows you to manage user (i.e. devs, CI/CD systems) read and/or write access to specific stacks.prehistoric-nail-50687
03/17/2021, 8:48 AMworried-knife-31967
03/17/2021, 8:54 AMworried-knife-31967
03/17/2021, 5:31 PMupsert: true
now... just released 😄prehistoric-nail-50687
03/17/2021, 5:32 PMworried-knife-31967
03/17/2021, 5:42 PMpulumi login
pulumi stack select {stackname}
if (err)
pulumi stack init {stackname}