serverless-tencent / serverless-tencent-scf Goto Github PK
View Code? Open in Web Editor NEWAdd support for Tencent Cloud's serverless infrastructure to the Serverless Framework via this plugin
Add support for Tencent Cloud's serverless infrastructure to the Serverless Framework via this plugin
How to deploy a nestjs app on serverless。
hello, I have noticed you have a mistake in vpc configuration of your serverless function. Specifically in deploy/lib/deployFunction.js
Mistake is within createFunction
function, specifically on lines 84-90
if (!_.isEmpty(funcObject.Properties.VpcConfig)) {
const vpc = funcObject.Properties.VpcConfig;
createFuncRequest.VpcConfig = {
VpcId: vpc.vpcId,
SubnetId: vpc.subnetId
};
}
should be changed to
if (!_.isEmpty(funcObject.Properties.VpcConfig)) {
const vpc = funcObject.Properties.VpcConfig;
createFuncRequest.VpcConfig = {
VpcId: vpc.VpcId,
SubnetId: vpc.SubnetId
};
}
because for some reason Serverless capitalizes all of the properties. I would open up pull request, but since it seems that you are updating the repo frequently, it would be faster if you would do it.
At the same time AWS Lambda provided this feature
当前配置中没有对固定ip的支持,需要在部署完毕后,再次在控制台配置固定ip
希望可以支持这个配置。实现自动化开启和部署
cos触发器的名称应该是这个格式的<BucketName-APPID>.cos.<Region>.myqcloud.com,跟trigger.Properties.Bucket肯定不一致
客服说是API网关限制4m
还有其他方法可以扩大上传限制吗?
tencentcloud-sdk-nodejs还是3.0版的
部署个函数都不支持node14的
哎~
在腾讯云上部署 Express.js 应用程序的“现在试试”按钮的链接失效了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.