Skip to content

Commit

Permalink
Commit changes made by code formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 27, 2024
1 parent 665e5c3 commit 4b8ede3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/backup/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
cold_storage_after = 30
is_production = can(regex("production", terraform.workspace))
is_production = can(regex("production", terraform.workspace))

}

Expand All @@ -21,7 +21,7 @@ resource "aws_backup_vault_lock_configuration" "default" {
# SNS topic
# trivy:ignore:avd-aws-0136
resource "aws_sns_topic" "backup_vault_topic" {
count = local.is_production ? 1 : 0
count = local.is_production ? 1 : 0
kms_master_key_id = var.sns_backup_topic_key
name = var.backup_vault_lock_sns_topic_name
tags = merge(var.tags, {
Expand Down

0 comments on commit 4b8ede3

Please sign in to comment.