Skip to content

Commit

Permalink
Merge pull request #49 from schubergphilis/create-before-destroy
Browse files Browse the repository at this point in the history
bug: solve dependency isues with modifying parameter groups
  • Loading branch information
marwinbaumannsbp authored Sep 18, 2023
2 parents 4d435e6 + 477d7eb commit a8361ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ resource "aws_rds_cluster_parameter_group" "default" {
value = parameter.value.value
}
}

lifecycle {
create_before_destroy = true
}
}

################################################################################
Expand All @@ -220,6 +224,10 @@ resource "aws_db_parameter_group" "default" {
value = parameter.value.value
}
}

lifecycle {
create_before_destroy = true
}
}

################################################################################
Expand Down

0 comments on commit a8361ed

Please sign in to comment.