private List<CloudResourceStatus> updateHeatStack( AuthenticatedContext authenticatedContext, List<CloudResource> resources, String heatTemplate, Map<String, String> parameters) { CloudResource resource = utils.getHeatResource(resources); String stackName = authenticatedContext.getCloudContext().getName(); String heatStackId = resource.getName(); OSClient client = openStackClient.createOSClient(authenticatedContext); StackUpdate updateRequest = Builders.stackUpdate() .template(heatTemplate) .parameters(parameters) .timeoutMins(OPERATION_TIMEOUT) .build(); client.heat().stacks().update(stackName, heatStackId, updateRequest); LOGGER.info( "Heat stack update request sent with stack name: '{}' for Heat stack: '{}'", stackName, heatStackId); return check(authenticatedContext, resources); }