Skip to content

Commit

Permalink
add checkov skip
Browse files Browse the repository at this point in the history
  • Loading branch information
richgreen-moj committed Oct 8, 2024
1 parent 4de14f7 commit a8daf53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ data "aws_vpc_endpoint" "s3" {

# S3
resource "aws_kms_key" "bastion_s3" {
#checkov:skip=CKV2_AWS_64:KMS key policy is defined in a seperate resource below
count = var.custom_s3_kms_arn != "" ? 0 : 1
enable_key_rotation = true

Expand Down

0 comments on commit a8daf53

Please sign in to comment.