Skip to content

Commit

Permalink
chore: Updates based on security review feedback (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Nov 7, 2022
1 parent 7d6e8b4 commit bd2d5a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @askulkarni2 @csantanapr @vara-bonthu @bryantbiggs @Zvikan
* @aws-ia/internal-terraform-eks-admins
3 changes: 3 additions & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,21 @@ module "irsa" {
}

resource "aws_security_group" "vpc_link_sg" {
# checkov:skip=CKV2_AWS_5
name = "${local.name}-vpc-link"
description = "Security group for API Gateway v2 VPC link"
vpc_id = module.vpc.vpc_id

ingress {
description = "Ingress all from VPC"
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = [local.vpc_cidr]
}

egress {
description = "Egress all to VPC"
from_port = 0
to_port = 0
protocol = "-1"
Expand Down

0 comments on commit bd2d5a9

Please sign in to comment.