Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack Reference in Open Source #752

Closed
JordanSimba opened this issue Jul 31, 2020 · 4 comments
Closed

Stack Reference in Open Source #752

JordanSimba opened this issue Jul 31, 2020 · 4 comments

Comments

@JordanSimba
Copy link

Hey, I didn't really know where to ask this question.

But in reading the docs, I can't quite understand whether stack reference is available for Open Source edition users.
If Stack A tries to refer to Stack B which uses a different passphrase to encrypt its values, or a Project A -> Stack A tries to refer to Project B -> Stack B, how would the current stacks context with some PULUMI_CONFIG_PASSPHRASE=passphrase1 env var know how to decrypt some secret or output value from the other stack?

@leezen
Copy link
Contributor

leezen commented Jul 31, 2020

StackReference is available for open source users.

However, the ability to use different secrets providers across stacks isn't possible today given the way secrets providers work and is tracked in pulumi/pulumi#4665

@leezen leezen closed this as completed Jul 31, 2020
@JordanSimba
Copy link
Author

Thank you for the response.
Quick follow up:
Do both stacks have to use the same passphrase?
(In Open source of course)

@leezen
Copy link
Contributor

leezen commented Jul 31, 2020

Yes -- if you want the StackReference to work, they need to use the same secrets provider. Note that in the open source, you can also use other secrets provider that aren't just the passphrase: https://www.pulumi.com/docs/intro/concepts/config/#available-encryption-providers

@JordanSimba
Copy link
Author

But using the same secrets provider doesn't necessarily mean using the same secret right? Or am I misunderstanding?

Ah, yeah I keep saying passphrase, but it's just what I've chosen as I'm exploring the tool!

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

No branches or pull requests

2 participants