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 41d687d commit 9115ea7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ resource "aws_db_parameter_group" "default" {
name = module.label.id
family = var.db_parameter_group
tags = module.label.tags
lifecycle {
ignore_changes = [parameter]
}
dynamic "parameter" {
for_each = var.db_parameter
content {
Expand All @@ -80,9 +83,6 @@ resource "aws_db_parameter_group" "default" {
value = parameter.value.value
}
}
lifecycle {
ignore_changes = [parameter]
}
}

resource "aws_db_option_group" "default" {
Expand All @@ -91,6 +91,9 @@ 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 @@ -108,9 +111,6 @@ resource "aws_db_option_group" "default" {
}
}
}
lifecycle {
ignore_changes = [option]
}
}

lifecycle {
Expand Down

0 comments on commit 9115ea7

Please sign in to comment.