serverless-plugins

How to locally run my cloudflare worker serverless function, during development?

有些话、适合烂在心里 提交于 2019-12-11 04:37:47
问题 I managed to deploy my first cloudflare worker using serverless framework according to https://serverless.com/framework/docs/providers/cloudflare/guide/ and it is working when I hit the cloud. During development, would like to be able to test on http://localhost:8080/* What is the simplest way to bring up a local http server and handle my requests using function specified in serverless.yml? I looked into https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint but

How pass output values between aws nested stacks in serverless?

心不动则不痛 提交于 2019-12-08 02:04:16
问题 Here is readme about serverless-plugin-nested-stacks plugin. It makes possible to include nested stacks into main one. But how to pass values between stacks? For example I create a resouce in one nested stack - how to path it arn to another stack (nested or main one)? 回答1: First you will need to export the resources from the corresponding nested stack like this: AWSTemplateFormatVersion: '2010-09-09' Parameters: ... Resources: ... Outputs: o1: Description: ... Value: <your_resource_arn>

How pass output values between aws nested stacks in serverless?

半城伤御伤魂 提交于 2019-12-06 09:40:41
Here is readme about serverless-plugin-nested-stacks plugin. It makes possible to include nested stacks into main one. But how to pass values between stacks? For example I create a resouce in one nested stack - how to path it arn to another stack (nested or main one)? First you will need to export the resources from the corresponding nested stack like this: AWSTemplateFormatVersion: '2010-09-09' Parameters: ... Resources: ... Outputs: o1: Description: ... Value: <your_resource_arn> Export: Name: <your_export_name> To import the resource in other stack, you will need to use the intrinsic