Skip to content

Commit

Permalink
Fargate: Add ElastiCache Security Group
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Feb 23, 2024
1 parent fd76305 commit 1e3526f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions fargate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,14 @@ resource "aws_security_group" "wordpress" {
}

ingress {
from_port = 0
to_port = 0
protocol = "tcp"
security_groups = [aws_security_group.alb.id, aws_security_group.efs.id]
from_port = 0
to_port = 0
protocol = "tcp"
security_groups = [
aws_security_group.alb.id,
aws_security_group.efs.id,
aws_security_group.elasticache.id
]
}

tags = var.tags
Expand Down

0 comments on commit 1e3526f

Please sign in to comment.