https://pulumi.com logo
Title
s

steep-toddler-94095

09/20/2022, 2:50 AM
is there a way to update the stack config without running
pulumi up
. sort of like a reverse
pulumi config refresh
or something like what
pulumi config set --update-state foo bar
would do if it were a real command?
l

little-cartoon-10569

09/20/2022, 3:08 AM
What would the effect be? If changing your config changes state (e.g.
pulumi config set numberOfSubnets 4
...) and you don't want to run
pulumi up
... what would it do?
s

steep-toddler-94095

09/20/2022, 5:08 AM
Yeah good point, it's a weird ask. I would definitely want to run
pulumi up
shortly after the config update, but with the legacy systems i'm working with it's easier to update the config from one place, and then run pulumi up from a different place. Maybe I'll store this state outside Pulumi and pull it in the infra code then.