dry-controller-79976
02/17/2025, 4:54 PMpulumi preview
(in CI)
3. Review the preview diff
4. Apply to production if everything looks good
The problem here is that if (3) doesn't look good or the release is aborted for some reason, the change from (1) still remains, which can be confusing and lead to issues in future operations.
Is there a way to override a value pulled from an environment just for the scope of a particular preview
calculation, and leave the actual environment unchanged? Or some other way to avoid this scenario.stocky-restaurant-98004
02/17/2025, 8:34 PMdry-controller-79976
02/18/2025, 9:05 PMAre you trying to do (current Environment + next version of the container)?Yes, that's correct
I'm not 100% sure on the override behavior, but I think an explicit config value will override one from an environment.For it, so instead of changing the environment in the CI job, we just locally override the config when doing the "preview". If that works that makes sense!
stocky-restaurant-98004
02/20/2025, 2:00 AMstocky-restaurant-98004
02/20/2025, 2:00 AMstocky-restaurant-98004
02/20/2025, 7:15 PMstocky-restaurant-98004
02/20/2025, 7:15 PMdry-controller-79976
02/21/2025, 3:03 AM