We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3903b9a commit a346745Copy full SHA for a346745
info/lib/display.js
@@ -18,15 +18,19 @@ module.exports = {
18
Object.keys(configInput.custom.containers).length !== 0
19
) {
20
this.listContainers(namespace.id).then((containers) => {
21
+ var output = {};
22
containers.forEach((container) => {
- this.serverless.cli.log(yaml.dump(container));
23
+ output[container["name"]] = container;
24
});
25
+ console.log(yaml.dump({"Stack Outputs": {"containers": output}}));
26
27
} else {
28
this.listFunctions(namespace.id).then((functions) => {
29
30
functions.forEach((func) => {
- this.serverless.cli.log(yaml.dump(func));
31
+ output[func["name"]] = func;
32
33
+ console.log(yaml.dump({"Stack Outputs": {"functions": output}}));
34
35
}
36
0 commit comments