Join Slack
Powered by
Is there a way to query for the pulumi stack name ...
# kubernetes
s
straight-cartoon-24485
04/18/2021, 7:50 AM
Is there a way to query for the pulumi stack name at runtime? I understand I can setup a key-value in the configuration
Pulumi.<stack-name>.yaml
file, and am wondering if there is a better way to get the
<stack-name>
to stay DRY
p
prehistoric-coat-10166
04/18/2021, 7:53 AM
https://www.pulumi.com/docs/intro/concepts/stack/#getting-the-current-stack-programmatically
👍 1
4
Views
Open in Slack
Previous
Next