Commit 966aef3
committed
fix: Remove secret rotation_rules for TF v5.0+
Fixes #18
Previously we specified `rotation_rules` in our Secrets with an
intended frequency but didn't actually provide a Lambda to perform
the update. Terraform 5.0 (released 2023) removed this deprecated
parameter, and the replacement `aws_secretsmanager_secret_rotation`
resource doesn't seem able to apply specifying only a schedule but
not a Lambda ARN. Therefore, simply removed our old rotation_rules
blocks for forward compatibility with Terraform v5.0+1 parent 09436d6 commit 966aef3
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 12 | | |
18 | 13 | | |
19 | 14 | | |
| |||
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
| |||
0 commit comments