Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid argument in body when deploy function #1040

Open
cray2015 opened this issue Nov 25, 2020 · 1 comment
Open

Invalid argument in body when deploy function #1040

cray2015 opened this issue Nov 25, 2020 · 1 comment

Comments

@cray2015
Copy link

Hi there I'm pretty new to using funcraft I installed the npm package for this. As soon as I deploy I get an invalid argument error i have enabled the debug mode.

lambda request body: { description: 'test http trigger python37', role: 'acs:ram::52667912558*****:role/aliyunfcgeneratedrole-ap-southeast-5-python37-demo', logConfig: [Object], vpcConfig: [Object], nasConfig: [Object] }

I dont know whats going wrong with it. need some help. is this some problem with the binary?

@cray2015
Copy link
Author

the full body is as follows
{"description":"test-http-trigger-python37","role":"acs:ram::526679125586****:role/aliyunfcgeneratedrole-ap-southeast-5-python37-demo","logConfig":{"project":"","logstore":""},"vpcConfig":{"VpcId":{"Ref":"Vpc"},"VSwitchIds":[{"Ref":"VSwitch"}],"SecurityGroupId":{"Ref":"SecurityGroup"}},"nasConfig":{"UserId":10003,"GroupId":10003,"MountPoints":[{"ServerAddr":{"Fn::Join":["",[{"Ref":"MountTarget"},":/","python37-demo"]]},"MountDir":"/mnt/auto"}]}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant