Skip to content

Commit

Permalink
checkov fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Sep 11, 2024
1 parent fa0d4ad commit 354cbe1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "aws_kms_key" "encryption_rds" {
enable_key_rotation = true
description = "Key to encrypt secret"
deletion_window_in_days = 7
#checkov:skip=CKV2_AWS_64: Not including a KMS Key policy
}
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_alias
resource "aws_kms_alias" "encryption_rds" {
Expand Down
2 changes: 0 additions & 2 deletions security_group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ resource "aws_security_group" "rds" {
tags = {
"Name" = "${var.name}-rds-sg"
}
# checkov:skip=CKV2_AWS_5: "Ensure that Security Groups are attached to another resource"
# This security group is attached to the Amazon ElastiCache Serverless resource
}
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule
resource "aws_security_group_rule" "ingress_rds_sg" {
Expand Down

0 comments on commit 354cbe1

Please sign in to comment.