Skip to content

Commit

Permalink
checkov suppress
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Oct 3, 2024
1 parent 2cd82ae commit 1e6ef02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/security_group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ resource "aws_security_group_rule" "ingress_load_balancer" {
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
security_group_id = aws_security_group.custom_sg.id
#checkov:skip=CKV_AWS_260: "Ensure no security groups allow ingress from 0.0.0.0:0 to port 80"
#This is non prod and hence enabled.
}
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule
resource "aws_security_group_rule" "egress_load_balancer" {
Expand All @@ -30,8 +32,6 @@ resource "aws_security_group_rule" "egress_load_balancer" {
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
security_group_id = aws_security_group.custom_sg.id
#checkov:skip=CKV_AWS_260: "Ensure no security groups allow ingress from 0.0.0.0:0 to port 80"
#This is non prod and hence enabled.
}
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group
resource "aws_security_group" "container_sg" {
Expand Down

0 comments on commit 1e6ef02

Please sign in to comment.