Skip to content

Commit

Permalink
Merge pull request #110 from kunduso/enable-blue-green-deployment
Browse files Browse the repository at this point in the history
added logic to be triggered with each terraform apply #109
  • Loading branch information
kunduso authored Oct 30, 2024
2 parents bbe84c5 + 5414fee commit c4fd3b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/code_deploy_deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@ resource "terraform_data" "trigger_code_deploy_deployment" {
interpreter = ["/bin/bash", "-c"]
}
depends_on = [local_file.code_deploy_sh]
lifecycle {
replace_triggered_by = [local_file.code_deploy_sh]
}
}

0 comments on commit c4fd3b7

Please sign in to comment.