From 4d8674e4c7e77dac37b3ecb97f0e3ce3921b2261 Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Wed, 11 Jan 2023 23:29:18 -0300 Subject: [PATCH 1/2] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ main.tf | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c9e4a0..1703d0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.6.2 (January 11, 2023) + +FIXES: + + * Add lifecycle ignore for `secret_id` + ## 0.6.1 (October 19, 2022) FIXES: diff --git a/main.tf b/main.tf index d79e86b..3d83f56 100644 --- a/main.tf +++ b/main.tf @@ -94,8 +94,8 @@ resource "aws_secretsmanager_secret_rotation" "rsm-sr" { rotation_rules { automatically_after_days = lookup(each.value, "automatically_after_days", var.automatically_after_days) } - depends_on = [aws_secretsmanager_secret.rsm] - + depends_on = [aws_secretsmanager_secret.rsm] + lifecycle { ignore_changes = [ secret_id, From 2121e01e0bcbfa0433fadfe223f7d3cba303bb9f Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Wed, 11 Jan 2023 23:32:41 -0300 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1703d0e..a0d6181 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ FIXES: - * Add lifecycle ignore for `secret_id` + * Add lifecycle ignore for `secret_id` (thanks @jmonte-sph) ## 0.6.1 (October 19, 2022)