amazon-ebs builder force_deregister flag: handling AMIs attached to running instances
Goal To understand how Packer’s force_deregister option behaves when an AMI with the target name is currently attached to a running EC2 instance. Constraints The build configuration is identical across local CI and production environments, but the outcome differs. The AWS region, IAM permissions for ec2:DeregisterImage , and the state propagation of image de