EC2 instance creation fails with “InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet”

For the second time I ran into this same issue. When using RunInstancesCommand from the AWS SDK for Javascript, a certain parameter combination results in a misleading and confusing error message: “InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet” There is no parameter “groupName” in my request. The problem was that the… Continue reading EC2 instance creation fails with “InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet”