serverless-plugin-canary-deployments
Version:
A Serverless plugin to implement canary deployment of Lambda functions
28 lines (27 loc) • 546 B
JSON
{
"service": "canary-deployments-test",
"functions": {
"hello": {
"handler": "handler.hello",
"deploymentSettings": {
"type": "AllAtOnce",
"alias": "Live",
"preTrafficHook": "preHook"
}
},
"goodbye": {
"handler": "handler.goodbye",
"deploymentSettings": {
"type": "AllAtOnce",
"alias": "Live",
"postTrafficHook": "postHook"
}
},
"preHook": {
"handler": "hooks.pre"
},
"postHook": {
"handler": "hooks.post"
}
}
}