From 0b1e7db751a88101b11a85490e61dc386a794c52 Mon Sep 17 00:00:00 2001 From: Henry He Date: Tue, 12 Oct 2021 10:33:02 -0600 Subject: [PATCH] changes --- main.tf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 2a20853..0fccebc 100644 --- a/main.tf +++ b/main.tf @@ -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 { @@ -115,6 +112,7 @@ resource "aws_db_option_group" "default" { lifecycle { create_before_destroy = true + ignore_changes = [option] } }