sls deploy不支持--config #196
tappmarket
started this conversation in
Serverless
Replies: 5 comments 2 replies
-
你好,当前 Tencent CLI 不支持此命令行功能 |
Beta Was this translation helpful? Give feedback.
0 replies
-
如何在国内安装非tecent cli版本的sls?
…On Thu, May 5, 2022 at 1:46 PM God_S_Sept ***@***.***> wrote:
你好,当前 Tencent CLI 不支持此命令行功能
—
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVP5WJ2J3AIUC573BGIZUUTVINACFANCNFSM5VDZVRLA>
.
You are receiving this because you authored the thread.Message ID:
<serverless/serverless-tencent/repo-discussions/196/comments/2691092@
github.com>
--
This email and its attachments are confidential and is intended only for
the use of the individual and/or entity to which it is addressed to.
If
we have sent it to you in error, we do not waive confidentiality on it, and
you must not disclose, copy or use the information in it. Please notify us
by return email and delete it from your system.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
uninstall -g
SERVERLESS_PLATFORM_VENDOR=aws npm i -g serverless
依旧是tecent版本
…On Thu, May 5, 2022 at 1:50 PM God_S_Sept ***@***.***> wrote:
可以添加环境变量,请参考文档 ;
https://cn.serverless.com/framework/docs-Q-A#%E5%A6%82%E4%BD%95%E9%83%A8%E7%BD%B2-serverless-%E5%BA%94%E7%94%A8%E5%88%B0-aws%EF%BC%8C%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E8%AE%BF%E9%97%AE%E5%85%A8%E7%90%83%E5%AE%98%E7%BD%91%EF%BC%9F
—
Reply to this email directly, view it on GitHub
<#196 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVP5WJ7ATX5MFJIYHW5EHXTVINAPJANCNFSM5VDZVRLA>
.
You are receiving this because you authored the thread.Message ID:
<serverless/serverless-tencent/repo-discussions/196/comments/2691103@
github.com>
--
This email and its attachments are confidential and is intended only for
the use of the individual and/or entity to which it is addressed to.
If
we have sent it to you in error, we do not waive confidentiality on it, and
you must not disclose, copy or use the information in it. Please notify us
by return email and delete it from your system.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
已经解决
修改timezone为国外即可
timedatectl set-timezone Australia/Melbourne
…On Thu, May 5, 2022 at 2:05 PM God_S_Sept ***@***.***> wrote:
不是安装,是使用CLI的时候添加此环境变量。 比如 SERVERLESS_PLATFORM_VENDOR=aws sls deploy,
这样CLI逻辑就不会走Tencent CLI
—
Reply to this email directly, view it on GitHub
<#196 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVP5WJ6FAOSZVXWW7PFNTSTVINCJRANCNFSM5VDZVRLA>
.
You are receiving this because you authored the thread.Message ID:
<serverless/serverless-tencent/repo-discussions/196/comments/2691137@
github.com>
--
This email and its attachments are confidential and is intended only for
the use of the individual and/or entity to which it is addressed to.
If
we have sent it to you in error, we do not waive confidentiality on it, and
you must not disclose, copy or use the information in it. Please notify us
by return email and delete it from your system.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
希望国内能够支持--config参数 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这个功能在国外安装的sls是支持的
[root@serverless.fieldteam]# sls deploy --config serverless-infra.yml --verbose
x deploy 失败 (0s)
参考信息: https://cn.serverless.com/framework/docs-workflow
帮助文档: https://cn.serverless.com/framework/docs
BUG提交: https://github.com/serverless/serverless-tencent/issues
问答社区: https://github.com/serverless/serverless-tencent/discussions
Error:
无效的Serverless应用(Serverless::CLI)
错误信息: 无法部署当前目录,请检查目录或添加 serverless.yml 应用配置文件后重试。
Environment: linux, node v14.19.1, tencent v3.21.6
Beta Was this translation helpful? Give feedback.
All reactions