Git Product home page Git Product logo

serverless-tencent-scf's Issues

Serverless function vpc configuration

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.

希望增加对固定ip配置的支持

当前配置中没有对固定ip的支持,需要在部署完毕后,再次在控制台配置固定ip

希望可以支持这个配置。实现自动化开启和部署

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.