Skip to content

Commit

Permalink
PRMP-945: Set backup plan recovery points to false if sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas-khan10 authored Oct 1, 2024
1 parent c0524e0 commit f01c210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/backups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "aws_backup_plan" "s3_continuous_backup" {
name = "${terraform.workspace}_s3_continuous_backup"

rule {
enable_continuous_backup = true
enable_continuous_backup = !local.is_sandbox
rule_name = "S3BucketContinousBackups"
target_vault_name = aws_backup_vault.backup_vault.name
lifecycle {
Expand Down

0 comments on commit f01c210

Please sign in to comment.