Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bw-henry-he committed Oct 12, 2021
1 parent 9115ea7 commit 0b1e7db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ resource "aws_db_option_group" "default" {
engine_name = var.engine
major_engine_version = var.major_engine_version
tags = module.label.tags
lifecycle {
ignore_changes = [option]
}
dynamic "option" {
for_each = var.db_options
content {
Expand All @@ -115,6 +112,7 @@ resource "aws_db_option_group" "default" {

lifecycle {
create_before_destroy = true
ignore_changes = [option]
}
}

Expand Down

0 comments on commit 0b1e7db

Please sign in to comment.