bitter-bear-28592
10/19/2025, 11:48 PMpulumi config functionality of the CLI. I am looking to perform a step in my CI/CD where I save application app settings into the pulumi stack.
pulumi config set --path "AppSettings.$name" $value $securityOption;
However I found that the config does not persist in later steps when a pulumi config refresh is performed prior to me performing a pulumi up. Is this expected behavior? Do I need to run a pulumi up right after the config step in order for the config to persist?
Thank you!little-cartoon-10569
10/20/2025, 12:44 AMbitter-bear-28592
10/20/2025, 12:52 AMpulumi config set is this supposed to be saved in the backend instance or just my local?little-cartoon-10569
10/20/2025, 1:42 AMpulumi config updates the stack config file, which is local (normally shared via git). If you want shared config, you need to use something like a vault, AWS SSM, or Pulumi ESC.bitter-bear-28592
10/20/2025, 2:28 AMpulumi config refresh do?little-cartoon-10569
10/20/2025, 2:35 AMlittle-cartoon-10569
10/20/2025, 2:36 AMpulumi up.little-cartoon-10569
10/20/2025, 2:37 AMlittle-cartoon-10569
10/20/2025, 2:38 AMpulumi config set ... ; pulumi up on one computer, then pulumi config refresh on another computer. But that only helps if the stack is ready for deployment.bitter-bear-28592
10/20/2025, 2:40 AMpulumi up --target ? (to avoid a full deployment)little-cartoon-10569
10/20/2025, 4:06 AM--exclude takes wildcards.. that might be abusable?bitter-bear-28592
10/20/2025, 4:32 AMechoing-dinner-19531
10/20/2025, 8:31 AMup run will update their state.