brainy-napkin-70882
03/28/2024, 6:26 AMpulumi config refresh --stack prod
on every micro-stack I have in a mono-repo. On occasion, I will get the following error and it varies in terms of which stack outputs this error on each run:
error: no previous deployment
The state is stored in s3 and all stacks have initialized previously.
I'm not getting any further error messages to help debug this issue. What do I do?stale-twilight-75626
03/28/2024, 6:40 AMbrainy-napkin-70882
03/28/2024, 6:52 AMstale-twilight-75626
03/28/2024, 6:55 AMstale-twilight-75626
03/28/2024, 6:55 AMstale-twilight-75626
03/28/2024, 6:57 AMstale-twilight-75626
03/28/2024, 6:58 AMstale-twilight-75626
03/28/2024, 6:59 AMstale-twilight-75626
03/28/2024, 6:59 AMbrainy-napkin-70882
03/28/2024, 1:45 PMpulumi preview
on each stack.
I ended up throwing each of the stack's configuration file (Pulumi.<stack>.yaml
) file into my git repo too, and removed the pulumi config refresh --stack prod
command from the script, and the script runs fine afterwards. So the issue lies with the pulumi config refresh
command, but I can't tell what exactly.stale-twilight-75626
03/28/2024, 4:52 PMbrainy-napkin-70882
03/28/2024, 5:11 PMstale-twilight-75626
03/28/2024, 5:27 PMstale-twilight-75626
03/28/2024, 5:28 PMstale-twilight-75626
03/28/2024, 5:28 PMstale-twilight-75626
03/28/2024, 5:29 PMpulumi up
commandsstale-twilight-75626
03/28/2024, 5:30 PMbrainy-napkin-70882
03/28/2024, 5:38 PMstale-twilight-75626
03/28/2024, 6:15 PMbrainy-napkin-70882
03/28/2024, 9:43 PMstale-twilight-75626
03/28/2024, 9:55 PMstale-twilight-75626
03/28/2024, 9:55 PMstale-twilight-75626
03/28/2024, 9:55 PM