Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roncitrus committed Jan 11, 2024
1 parent 15a62e9 commit 9b5c081
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions terraform/environments/cdpt-chaps/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ resource "aws_db_subnet_group" "db" {
}

resource "aws_security_group_rule" "ecs_to_rds" {
type = "ingress"
from_port = 1433
to_port = 1433
protocol = "tcp"
security_group_id = [aws_security_group.db.id]
source_security_group_id = aws_security_group.cluster_ec2.id
type = "ingress"
from_port = 1433
to_port = 1433
protocol = "tcp"
security_group_id = db.id
source_security_group_id = cluster_ec2.id
}

resource "aws_security_group" "db" {
Expand Down

0 comments on commit 9b5c081

Please sign in to comment.