-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Description:
Thanks for the wonderful plugin. As plugin only support pre-defined config and max time is 30 min . and its not enough for us to complete our testing on canary version. So , I want to know is there any other way to hold traffic shifting between version for desired time.
I am unable to use a custom deployment configuration from CodeDeploy. When I make the Type of the deploymentSettings the name of the custom deployment configuration (eg TestDeploymentConfig) then Cloudformation looks for the deployment configuration CodeDeployDefault.LambdaTestDeploymentConfig.
Steps to reproduce the issue:
Create a custom deployment configuration in CodeDeploy called TestDeploymentConfiguration
Try to reference it in deploymentSettings - Type
The stack shows the following error: No deployment configuration found for name: CodeDeployDefault.LambdaTestDeploymentConfiguration
Code
This naming seems hardcoded here:
serverless-application-model/samtranslator/model/preferences/deployment_preference_collection.py
Line: 31

With this naming we wont be able to point our deployment preferences to a custom deployment configuration because it always places "CodeDeployDefault.Lambda" in front of the name.
Here (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html#deployment-configuration-lambda)
it says "You can also create your own custom canary or linear deployment configuration."
How do we reference a custom deployment configuration ? or is there any way to hold traffic shifting