fix: terraform fmt alignment
This commit is contained in:
parent
d6a96c3351
commit
98c1767ffb
@ -130,7 +130,7 @@ locals {
|
|||||||
|
|
||||||
# Calculate next slot to use (round-robin)
|
# Calculate next slot to use (round-robin)
|
||||||
# Count existing snapshots and use next slot, or slot 1 if all are full
|
# Count existing snapshots and use next slot, or slot 1 if all are full
|
||||||
next_slot_index = length(local.existing_snapshot_names) >= var.snapshot_retention_count ? 0 : length(local.existing_snapshot_names)
|
next_slot_index = length(local.existing_snapshot_names) >= var.snapshot_retention_count ? 0 : length(local.existing_snapshot_names)
|
||||||
next_snapshot_name = local.snapshot_slot_names[local.next_slot_index]
|
next_snapshot_name = local.snapshot_slot_names[local.next_slot_index]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user