getLogger().info("Create change set '{}' for stack '{}'", changeSetName, stackName);
CreateChangeSetRequest req = new CreateChangeSetRequest()
.withChangeSetName(changeSetName)
.withStackName(stackName)
.withTemplateURL(cfnTemplateUrl)
<BUG>.withParameters(cfnStackParams);
if (isCapabilityIam()) {</BUG>
req.setCapabilities(Arrays.asList(Capability.CAPABILITY_IAM.toString()));
}
CreateChangeSetResult createChangeSetResult = cfn.createChangeSet(req);

getLogger().info("Create change set '{}' for stack '{}'", changeSetName, stackName);
CreateChangeSetRequest req = new CreateChangeSetRequest()
.withChangeSetName(changeSetName)
.withStackName(stackName)
.withTemplateURL(cfnTemplateUrl)
.withParameters(cfnStackParams)
.withTags(cfnStackTags);
if (isCapabilityIam()) {
req.setCapabilities(Arrays.asList(Capability.CAPABILITY_IAM.toString()));
}
CreateChangeSetResult createChangeSetResult = cfn.createChangeSet(req);
