I could find any resources on this, and I’ve asked...
# general
f
I could find any resources on this, and I’ve asked before but no answer; How do you set configs and secrets programmatically. Using Typescript, looking at Config module, it has no setters. Technically what I need to do is to create stacks on the fly. The concept of pre-defined stacks seems like a broken idea. It’s useful for stuff like production. But not useful if you’re trying to deploy an isolated environment while reusing parts of existing resources. Say I want to reuse an existing ECR (AWS) but or an entire new stack. I would have to create a new stack create a new yaml file for the stack fill said yaml file with the configs and then apply said stack. Preferably, I would have just wanted to say
pulumi up new-stack-123 <bunch of env variables>