creamy-sugar-83202
01/30/2024, 12:01 PMpulumi preview
, it’s unable to find the AMI underlying those ec2 with the error invoke of aws:ec2/getAmi:getAmi failed: invocation of aws:ec2/getAmi:getAmi returned an error
. In fact, I could not find that AMI using AWS CLI, if I update to another AMI, pulumi shows that I need to replace those associated with the running instances, I’m skeptical to carry out the replacement because the instances are serving production. Any idea how to go on with it?adorable-house-61348
01/30/2024, 12:05 PMgetAmi
- that should workadorable-house-61348
01/30/2024, 12:06 PMcreamy-sugar-83202
01/30/2024, 12:15 PMget_ami()
, seems a bit manual..adorable-house-61348
01/30/2024, 12:16 PMcreamy-sugar-83202
01/30/2024, 1:02 PMsalmon-account-74572
01/30/2024, 8:28 PMignoreChanges
on the AMI property for the instance, but in general I agree with Venelin---if you want a fixed AMI, then supply it as a manually-entered configuration value.