Skip to content

Commit

Permalink
added logic to be triggered with each terraform apply #109
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Oct 30, 2024
1 parent 32ec1d5 commit 5414fee
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 5414fee

Please sign in to comment.