Customer has a Amazon EC2 system that wasnt launched using the 1.2.2 AMI. It is configured to use the CLI API toolset. With this configuration, the addModule is launching the new instance usind the AMI, but the customer doesn't want this. It needs to launch using the instance that the customer has provided.
The issue in the code is that when the postConfigure install is done and the user specifies the option to use the CLI API tool set, the code defaults to launching the AMI when add module is done.