store ami id, if created.