From 9b5c0817d6e5b9783c58d68510516f22109dbfb4 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Thu, 11 Jan 2024 13:32:51 +0000 Subject: [PATCH] fix typo --- terraform/environments/cdpt-chaps/database.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/terraform/environments/cdpt-chaps/database.tf b/terraform/environments/cdpt-chaps/database.tf index 9bf6f5b9226..2c579597385 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -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" {