private static List<DeploymentInstanceSpec> instances(List<DeploymentSpec.Step> steps) {
        return steps.stream()
                    .flatMap(DeploymentSpec::flatten)
                    .toList();
    }
Returns the deprecated elements used when creating this
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentSpec.java