Skip to content

How do you do blue/green deployments, rolling deployments, and canary deployments with Terraform? #800

Answered by brikis98
brikis98 asked this question in How do I
Discussion options

You must be logged in to vote

As discussed in How to use Terraform as a Team, Terraform does not have support built into the language or its standard workflows for deployment strategies such as blue/green deployment, rolling deployment, or canary deployments. However, depending on what you're deploying, there are several ways to accomplish these deployment strategies:

Option 1: deployment strategies built into specific resources/services

Some of the services that you manage with Terraform may natively support various deployment strategies if you configure the corresponding Terraform resources correctly. Here are a few examples:

  • EKS/K8S: Kubernetes has built-in support for rolling deployments using the Deployment object

Replies: 1 comment

Comment options

brikis98
Jan 26, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by brikis98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant