We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56a922f + 94f4581 commit c64d98fCopy full SHA for c64d98f
main.tf
@@ -40,7 +40,7 @@ resource "aws_backup_plan" "ab_plan" {
40
start_window = try(rule.value.start_window, null)
41
completion_window = try(rule.value.completion_window, null)
42
enable_continuous_backup = try(rule.value.enable_continuous_backup, null)
43
- recovery_point_tags = length(try(rule.value.recovery_point_tags, {})) == 0 ? var.tags : rule.value.recovery_point_tags
+ recovery_point_tags = coalesce(rule.value.recovery_point_tags, var.tags)
44
45
# Lifecycle
46
dynamic "lifecycle" {
0 commit comments