sparse-intern-71089
01/17/2024, 11:56 PMrich-whale-93740
01/17/2024, 11:59 PMignoreChanges can be useful here
https://www.pulumi.com/docs/concepts/options/ignorechanges/little-cartoon-10569
01/18/2024, 12:00 AMrich-whale-93740
01/18/2024, 12:03 AMec2.get_ami) firstlittle-cartoon-10569
01/18/2024, 12:05 AMpulumi up would export the updated AMI ID as a stack reference. Any pulumi up on related projects would then get the updated AMI. This two-stage process is essentially an automated alternative to what we're currently doing: approving a new AMI is separate from choosing to update a stack.little-cartoon-10569
01/18/2024, 12:06 AMrich-whale-93740
01/18/2024, 12:17 AMignore_changes may not work for us. ec2.get_ami requires InvokeOptions, which does not support ignore_changes 😞little-cartoon-10569
01/18/2024, 12:17 AMrich-whale-93740
01/18/2024, 12:18 AM