generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
terraform/environments/analytical-platform-ingestion/kms-keys.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
module "s3_landing_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["s3/landing"] | ||
description = "Family SFTP Server, Landing S3 KMS Key" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "s3_processed_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["s3/processed"] | ||
description = "Family SFTP Server, Processed S3 KMS Key" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "s3_quarantine_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["s3/quarantine"] | ||
description = "Family SFTP Server, Quarantine S3 KMS Key" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "s3_definitions_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["s3/definitions"] | ||
description = "Ingestion Scanning ClamAV S3 KMS Key" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "sns_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["sns/notify"] | ||
description = "Key for SNS notifications" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "govuk_notify_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["secretsmanager/govuk-notify"] | ||
description = "Key for GOV.UK Notify data" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} | ||
|
||
module "supplier_data_kms" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
source = "terraform-aws-modules/kms/aws" | ||
version = "2.2.1" | ||
|
||
aliases = ["secretsmanager/supplier-data"] | ||
description = "Key for SFTP supplier data" | ||
enable_default_policy = true | ||
|
||
deletion_window_in_days = 7 | ||
} |
File renamed without changes.