bitovi/github-actions-deploy-docker-to-ec2

Make tf_state_bucket_destroy only run if stack_destroy is true.

LeoDiazL opened this issue · 0 comments

Suggested change

if [[ $TF_STATE_BUCKET_DESTROY = true ]] ; then
if [[ $TERRAFORM_DESTROY = true ]] && [[ $TF_STATE_BUCKET_DESTROY = true ]]; then