Terraform: AWS - Add Blue/Green Deployments support to CodeDeploy Deployment Groups

Created on 1 Feb 2017  ยท  20Comments  ยท  Source: hashicorp/terraform

Can you add support to BlueGreenDeployment aka In-Place Deployment?

Adding a flag "In-place deployment"/"Blue/green deployment" on aws_codedeploy_deployment_group as described in http://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html#welcome-deployment-overview

enhancement provideaws

Most helpful comment

There has been some recent activity on the PR and it is now ready to be merged. I'm hoping that the committers will get it merged in the next couple of days. Thanks for your patience.

All 20 comments

Just stumbled over the same issue. Btw. isn't in-place != blue/green? I thought in-place is patching the application revision on the same instance whereas blue/green is booting a new ASG/ELB.

Blue-green deployment does not create a new ASG/ELB but create a new instance in the same ASG with new revision subsequently destroy the instance with old revision.
Check this article: https://aws.amazon.com/about-aws/whats-new/2017/01/aws-codedeploy-introduces-blue-green-deployments/

I see, so it's using the same ASG and ELB. Still in-place is patching the existing instances so it's not really "aka" right?

Edit: I knew I read it somewhere: http://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html#welcome-deployment-overview-blue-green

I'm sorry, I have not seen, it's only a typo.

If this issue is intended to add support for Blue/Green Deployments, then I think the issue title should be changed.

@stack72
Can you change the title of this issue to something like "Add Blue/Green Deployments support to CodeDeploy Deployment Groups"?

I've contributed a few patches to this particular resource so I was planning on adding this feature as well (unless it's already spoken for).

FYI

Here is the PR (WIP) to add this feature: https://github.com/hashicorp/terraform/pull/11700

UPDATE: The corresponding PR is ready for review.

hey @niclic - do you know if there is any plan to merge your PR into master? I'd really like to use it in our terraform infrastructure!

@stack72 Are you able to give us some idea when https://github.com/hashicorp/terraform/pull/11700 might be merged?

;)

any word on the progress of merging this PR? this functionality would be much appreciated!

+1, would like to use this functionality...

+1 this would be useful

any news on when this PR might be merged? thanks!

+1

There has been some recent activity on the PR and it is now ready to be merged. I'm hoping that the committers will get it merged in the next couple of days. Thanks for your patience.

+1 this would be useful

Any news with this PR? I would really appreciate a status update. Thank you!

WHY CLOSED?

Hey @golimer, issue was moved to terraform-providers/terraform-provider-aws#504 and was fixed in 1.1.0.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carl-youngblood picture carl-youngblood  ยท  3Comments

pawelsawicz picture pawelsawicz  ยท  3Comments

franklinwise picture franklinwise  ยท  3Comments

rjinski picture rjinski  ยท  3Comments

zeninfinity picture zeninfinity  ยท  3Comments