Skip to content

Commit

Permalink
adding aws_security_group_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk committed Dec 18, 2023
1 parent def2a11 commit d8a73e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/app_eks/efs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ resource "aws_security_group" "storage_class_nfs" {
vpc_id = var.network_id
}

resource "aws_vpc_security_group_ingress_rule" "example" {
security_group_id = aws_security_group.example.id

cidr_ipv4 = "10.0.0.0/8"
from_port = 80
ip_protocol = "tcp"
to_port = 80
}

resource "aws_security_group_rule" "nfs_ingress" {
description = "NFS inbound"
type = "ingress"
Expand Down

0 comments on commit d8a73e6

Please sign in to comment.