mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
An AWS::EC2::Instance that names a launch template took the template's image, type, key and metadata options but never its IamInstanceProfile, so describe-instances showed no profile. When the instance declares no profile of its own, it now launches with the template's, resolved the same way RunInstances resolves it. The instance's own profile still wins. A stack update that moves the instance to a template version naming another profile, or none, changes or removes the profile in place, and a dropped LaunchTemplate removes the profile it supplied. A rollback of an update that changed the profile, whether the instance or its template declared it, now puts the previous profile back instead of ending UPDATE_ROLLBACK_FAILED. Part of #7603