diff --git a/modules/postgres-restore/download_sg.tf b/modules/postgres-restore/download_sg.tf index 5a2e687e..1e2b835f 100644 --- a/modules/postgres-restore/download_sg.tf +++ b/modules/postgres-restore/download_sg.tf @@ -13,7 +13,7 @@ resource "aws_security_group_rule" "restore_download_task_https_out_anywhere" { description = "Allow https out from download task to anywhere" from_port = 443 protocol = "tcp" - security_group_id = aws_security_group.download_task.id + security_group_id = aws_security_group.restore_download_task.id to_port = 443 type = "egress" }