-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
codedeploy: cannot configure blue/green deployment for ServerDeploymentGroup #30555
Comments
it seems the aws cli does support those parameters: aws deploy create-deployment-group |
Hi @daTobiGit , thanks for reaching out. I see that cloudformation supports this blue/green deployment , can be seen here in L1 Construct - Is this what you are looking for ?? |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hi @khushail , thank you for your response. i already tried it out with the cfn class, but unfortunately it also doesnt work
when i configure the "deploymentStyle" attribute, i must not specify the AutoScalingGroups , LoadBalancerInfo , or Deployment properties. But CDK says: "one ASG has to be configured". This problem seems to be known: aws repost |
My Bad, thanks for sharing the article. I see the CDK Docs also mention about this -
In that case, you could file a FR with Cloudformation team ,by adding this on their Cloudformation coverage roadmap. . let me know if you need any other help! Thanks! |
Describe the bug
There are no options in CDK to set the deployment type from inplace to blue/green deployment. On the console, you can easily switch
Expected Behavior
i expected some configuration options in the class ServerDeploymentGroup, but there are none.
Current Behavior
only inplace deployments are possible
Reproduction Steps
this is all that can be configured:
`const vpc = new Vpc(this, "connect4-vpc-ec2", {
vpcName: "connect4-vpc-ec2",
maxAzs: 2,
subnetConfiguration: [
{
cidrMask: 24,
name: 'ingress',
subnetType: SubnetType.PUBLIC,
}]
})
Possible Solution
include configuration options for blue/green deployment to the ServerDeploymentGroup
Additional Information/Context
No response
CDK CLI Version
2.144.0 (build 5fb15bc)
Framework Version
No response
Node.js Version
v20.13.1
OS
amazon linux 2023
Language
TypeScript
Language Version
Typescript (5.4.5)
Other information
No response
The text was updated successfully, but these errors were encountered: