Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable AWS Backup Vault lock #495

Merged
merged 20 commits into from
Jul 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Need to filter the data call so that it only does the regions teh bac…
…kup is in
  • Loading branch information
ep-93 committed Jun 28, 2024
commit 73ad8417ebe4f5b13734e04019a10ae17c5d5bc6
7 changes: 1 addition & 6 deletions modules/backup/main.tf
Original file line number Diff line number Diff line change
@@ -24,13 +24,8 @@ resource "aws_backup_vault_lock_configuration" "default" {
# SNS topic
# trivy:ignore:avd-aws-0136
resource "aws_sns_topic" "backup_vault_topic" {
<<<<<<< HEAD
# count = local.is_production ? 1 : 0
kms_master_key_id = data.aws_kms_alias.securityhub-alarms.target_key_id
=======
count = local.is_production ? 1 : 0
kms_master_key_id = var.sns_backup_topic_key
>>>>>>> 4a81bda (updates to the module test)
kms_master_key_id = data.aws_kms_alias.securityhub-alarms.target_key_id
name = var.backup_vault_lock_sns_topic_name
tags = merge(var.tags, {
Description = "This backup topic is so the MP team can subscribe to backup vault lock being turned off and member accounts can create their own subscriptions"