如何使用output语句来引用multi-scf中创建出来的函数? #97
-
Hello,我在使用的过程中遇到了问题: 我的项目结构类似这样:
其中 在 目前使用这种语句执行会失败:
在
能请问正确的写法是什么吗? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Update: 可以直接使用 hello @ole3021 ,请问能否解答一下,联系售后没有得到比较理想的答案,谢谢! |
Beta Was this translation helpful? Give feedback.
-
@suerta-git 你好, 这里推荐直接使用 multi-scf 的配置中的 API gatewat 关联函数进行配置(参考:https://github.com/serverless-components/tencent-multi-scf/blob/master/docs/configure.md?plain=1#L64 ),没有必要单独使用 API Gateway 组件来进行配置。 这里麻烦说明一下是有什么特殊需求 需要 使用单独的 API Gateway 组件来配置应用的网关吗? |
Beta Was this translation helpful? Give feedback.
Update:
可以直接使用
${output:${stage}:${app}:${multi-scf-instance-name}.functions.0.name}
这种方式使用 array 中的数据。hello @ole3021 ,请问能否解答一下,联系售后没有得到比较理想的答案,谢谢!