Skip to content

Commit

Permalink
Merge pull request #4236 from ministryofjustice/CC-2235/EBS-DB-backup…
Browse files Browse the repository at this point in the history
…-volume

CC-2235: Added snapshot_id to aws_ebs_volume.backup
  • Loading branch information
mmgovuk authored Dec 4, 2023
2 parents 6725e6e + 45ddca6 commit 9643c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"ebs_size_ebsconc_u03": 200,
"ebs_size_ebsconc_home": 100,
"ebs_size_ebsconc_stage": 100,
"ebs_size_ebsconc_temp": 100
"ebs_size_ebsconc_temp": 100,
"ebs_backup_snapshot_id": "snap-0cdfe4b46c1e34ebb"
}
},
"webgate_ebs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ resource "aws_ebs_volume" "backup" {
availability_zone = "eu-west-2a"
size = local.application_data.accounts[local.environment].ebs_size_ebsdb_backup
type = local.application_data.accounts[local.environment].ebs_type_ebsdb_backup
snapshot_id = local.application_data.accounts[local.environment].ebs_backup_snapshot_id
iops = 3000
encrypted = true
kms_key_id = data.aws_kms_key.ebs_shared.key_id
Expand Down

0 comments on commit 9643c7c

Please sign in to comment.