11plugins :
2-
32 sl :
43 executor : central_deployment_agent
54 package_name : cloudify-serverless-plugin
6- package_version : ' 0.1.1'
7-
5+ package_version : 0.1.2
86data_types :
9-
107 cloudify.types.serverless.ServerlessConfig :
118 properties :
129 executable_path :
1310 type : string
1411 default : ' '
15- description : File path to Serverless binary. Leave blank and Cloudify will store the binary.
16-
1712 cloudify.types.serverless.ClientConfig :
1813 properties :
1914 provider :
2015 type : string
21- description : The Serverless provider name.
2216 required : false
2317 credentials :
24- # type: dict
18+ type : dict
2519 required : false
26- description : Credentials of the provider.
27-
2820 cloudify.types.serverless.ServiceConfig :
2921 properties :
3022 name :
3123 type : string
32- description : The Serverless service name.
3324 required : true
3425 template :
3526 type : string
36- description : Template for the service.
3727 required : true
3828 template_url :
3929 type : string
40- description : Template URL for the service. Supports GitHub, BitBucket.
4130 required : false
4231 template_path :
4332 type : string
44- description : Template local path for the service.
4533 required : false
4634 functions :
47- # type: list
35+ type : list
4836 required : true
49- description : List of cloudify.types.serverless.FunctionConfig.
5037 env :
51- # type: dict
38+ type : dict
5239 required : false
53- description : >
54- A dict of environment variables to use during execution of serverless CLI calls.
55- # For example, you can provide AWS credentials:
56- # env:
57- # AWS_ACCESS_KEY_ID: { get_secret: AWS_ACCESS_KEY_ID }
58- # AWS_SECRET_ACCESS_KEY: { get_secret: AWS_SECRET_ACCESS_KEY }
59-
6040 cloudify.types.serverless.FunctionConfig :
6141 properties :
6242 name :
6343 type : string
64- description : The Serverless function name.
6544 required : true
6645 handler :
6746 type : string
68- description : The Serverless function handelr.
6947 required : true
7048 events :
71- # type: list
72- description : List of events assoicated with the function.
49+ type : list
7350 required : false
7451 environment :
75- # type: dict
76- description : Function environment variables.
52+ type : dict
7753 required : false
78-
7954dsl_definitions :
80-
81- serverless_configuration : &serverless_config
82- serverless_config :
55+ serverless_configuration :
56+ serverless_config : &id001
8357 type : cloudify.types.serverless.ServerlessConfig
84-
85- use_external_resource_desc : &use_external_resource_desc >
86- Indicate whether the resource exists or if Cloudify should create the resource,
87- true if you are bringing an existing resource, false if you want cloudify to create it.
88-
89- external_resource : &external_resource
90- use_external_resource :
91- description : *use_external_resource_desc
58+ use_external_resource_desc : >
59+ Indicate whether the resource exists or if Cloudify should create the resource, true if you are bringing an existing resource, false if you want cloudify to create it.
60+ external_resource :
61+ use_external_resource : &id002
9262 type : boolean
9363 default : false
94-
9564node_types :
96-
9765 cloudify.nodes.serverless.Binary :
9866 derived_from : cloudify.nodes.SoftwareComponent
9967 properties :
100- << : *serverless_config
101- << : *external_resource
68+ serverless_config : *id001
69+ use_external_resource : *id002
10270 installation_source :
10371 type : string
104- default : ' https://github.com/serverless/serverless/releases/download/v3.22.0/serverless-linux-x64'
105- description : >
106- Location to download the Helm installation from. Ignored if 'use_existing_resource' is true.
72+ default : https://github.com/serverless/serverless/releases/download/v3.22.0/serverless-linux-x64
10773 max_sleep_time :
10874 type : integer
10975 default : 300
@@ -113,15 +79,13 @@ node_types:
11379 implementation : sl.serverless_plugin.tasks.install_binary
11480 delete :
11581 implementation : sl.serverless_plugin.tasks.uninstall_binary
116-
11782 cloudify.nodes.serverless.Service :
11883 derived_from : cloudify.nodes.SoftwareComponent
11984 properties :
120- << : *serverless_config
121- << : *external_resource
85+ serverless_config : *id001
86+ use_external_resource : *id002
12287 client_config :
12388 type : cloudify.types.serverless.ClientConfig
124- description : Configure the Serverless provider and client credentials.
12589 required : true
12690 resource_config :
12791 type : cloudify.types.serverless.ServiceConfig
0 commit comments