Hey Y'all- Quick question that I can't find an ans...
# esc
s
Hey Y'all- Quick question that I can't find an answer for. Are pulumi ESC Environments supported by the Automation API yet? Know you normally set config like :
await stack.setConfig("aws:region", { value: "us-west-2" });
And this feels config related, but was maybe expecting an
await stack.setEnvironments(["aws-prod", "azure-prod"])
kind of method?
r
Not yet, but there's an open issue for it here: https://github.com/pulumi/pulumi/issues/14512 Please upvote and/or leave a comment - will definitely help us prioritize.
s
Thanks for pointing me to the issue! 🙌
r
You can now do
stack.addEnvironments("env1", "env2")
and
stack.removeEnvironment("env1")
. Hope that unblocks you!
s
Fab thanks @red-match-15116 🙌 think that will do it! 👍