Skip to content

Commit

Permalink
Merge pull request #59 from schubergphilis/fvb/tweaks
Browse files Browse the repository at this point in the history
fix: Fix auto pauze configuration
  • Loading branch information
fatbasstard authored Dec 13, 2024
2 parents 1c4d0d2 + 065387c commit 3884ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ resource "aws_rds_cluster" "default" {
content {
max_capacity = var.max_capacity
min_capacity = var.min_capacity
seconds_until_auto_pause = var.seconds_until_auto_pause
seconds_until_auto_pause = var.min_capacity == 0 ? var.seconds_until_auto_pause : null
}
}
}
Expand Down

0 comments on commit 3884ab8

Please sign in to comment.